home *** CD-ROM | disk | FTP | other *** search
/ Apple Software Dispatch / Apple Software Dispatch.iso / Software Dispatch Files / Super Munchers / Sample Application / Sample Application.rsrc / CODE_1_Main.txt < prev    next >
Text File  |  1993-06-23  |  549KB  |  10,099 lines

  1. # near model CODE resource
  2. # jump table entries: 0-106 (107 of them)
  3. export_1:
  4. 00000000  4E56 FEFE                link       A6, -0x0102
  5. 00000004  48E7 0118                movem.l    -[A7], D7,A3,A4
  6. 00000008  47EE FF00                lea.l      A3, [A6 - 0x100]
  7. 0000000C  3E3C 07D3                move.w     D7, 0x7D3
  8. 00000010  2F0B                     move.l     -[A7], A3
  9. 00000012  302E 000A                move.w     D0, [A6 + 0xA]
  10. 00000016  48C0                     ext.l      D0
  11. 00000018  2F00                     move.l     -[A7], D0
  12. 0000001A  4EAD 0382                jsr        [A5 + 0x382 /* export_108 */]
  13. 0000001E  2F0B                     move.l     -[A7], A3
  14. 00000020  2F0B                     move.l     -[A7], A3
  15. 00000022  4EBA 0070                jsr        [PC + 0x70 /* 00000094 */]
  16. 00000026  2F0B                     move.l     -[A7], A3
  17. 00000028  486D DADE                pea.l      [A5 - 0x2522]
  18. 0000002C  7000                     moveq.l    D0, 0x00
  19. 0000002E  2F00                     move.l     -[A7], D0
  20. 00000030  2F00                     move.l     -[A7], D0
  21. 00000032  A98B                     syscall    ParamText
  22. 00000034  48C7                     ext.l      D7
  23. 00000036  2F07                     move.l     -[A7], D7
  24. 00000038  4EBA 017E                jsr        [PC + 0x17E /* 000001B8 */]
  25. 0000003C  2840                     movea.l    A4, D0
  26. 0000003E  200C                     move.l     D0, A4
  27. 00000040  4FEF 0014                lea.l      A7, [A7 + 0x14]
  28. 00000044  6730                     beq        +0x32 /* 00000076 */
  29. 00000046  2F0C                     move.l     -[A7], A4
  30. 00000048  7000                     moveq.l    D0, 0x00
  31. 0000004A  2F00                     move.l     -[A7], D0
  32. 0000004C  A918                     syscall    SetWRefCon
  33. 0000004E  4A2D DC9C                tst.b      [A5 - 0x2364]
  34. 00000052  6614                     bne        +0x16 /* 00000068 */
  35. label00000054:
  36. 00000054  7000                     moveq.l    D0, 0x00
  37. 00000056  2F00                     move.l     -[A7], D0
  38. 00000058  486E FEFE                pea.l      [A6 - 0x102]
  39. 0000005C  A991                     syscall    ModalDialog
  40. 0000005E  7001                     moveq.l    D0, 0x01
  41. 00000060  B06E FEFE                cmp.w      D0, [A6 - 0x102]
  42. 00000064  66EE                     bne        -0x10 /* 00000054 */
  43. 00000066  6008                     bra        +0xA /* 00000070 */
  44. label00000068:
  45. 00000068  2F0C                     move.l     -[A7], A4
  46. 0000006A  4EBA 01BA                jsr        [PC + 0x1BA /* 00000226 */]
  47. 0000006E  584F                     addq.w     A7, 4
  48. label00000070:
  49. 00000070  2F0C                     move.l     -[A7], A4
  50. 00000072  A983                     syscall    DisposeDialog
  51. 00000074  6014                     bra        +0x16 /* 0000008A */
  52. label00000076:
  53. 00000076  486D D358                pea.l      [A5 - 0x2CA8]
  54. 0000007A  558F                     subq.l     A7, 2
  55. 0000007C  A9AF                     syscall    ResError
  56. 0000007E  301F                     move.w     D0, [A7]+
  57. 00000080  48C0                     ext.l      D0
  58. 00000082  2F00                     move.l     -[A7], D0
  59. 00000084  4EBA 2F20                jsr        [PC + 0x2F20 /* 00002FA6 */]
  60. 00000088  504F                     addq.w     A7, 8
  61. label0000008A:
  62. 0000008A  4CEE 1880 FEF2           movem.l    D7,A3,A4, [A6 - 0x10E]
  63. 00000090  4E5E                     unlink     A6
  64. 00000092  4E75                     rts
  65. fn00000094:
  66. 00000094  4E56 FFFE                link       A6, -0x0002
  67. 00000098  48E7 0F18                movem.l    -[A7], D4,D5,D6,D7,A3,A4
  68. 0000009C  266E 0008                movea.l    A3, [A6 + 0x8]
  69. 000000A0  286E 000C                movea.l    A4, [A6 + 0xC]
  70. 000000A4  4205                     clr.b      D5
  71. 000000A6  7801                     moveq.l    D4, 0x01
  72. 000000A8  7E01                     moveq.l    D7, 0x01
  73. 000000AA  1D53 FFFF                move.b     [A6 - 0x1], [A3]
  74. label000000AE:
  75. 000000AE  3004                     move.w     D0, D4
  76. 000000B0  5244                     addq.w     D4, 1
  77. 000000B2  1C33 0000                move.b     D6, [A3 + D0.w]
  78. 000000B6  1006                     move.b     D0, D6
  79. 000000B8  0400 005E                subi.b     D0, 0x5E /* '^' */
  80. 000000BC  6734                     beq        +0x36 /* 000000F2 */
  81. 000000BE  0400 001E                subi.b     D0, 0x1E
  82. 000000C2  672E                     beq        +0x30 /* 000000F2 */
  83. 000000C4  5500                     subq.b     D0, 2
  84. 000000C6  6702                     beq        +0x4 /* 000000CA */
  85. 000000C8  6012                     bra        +0x14 /* 000000DC */
  86. label000000CA:
  87. 000000CA  48C7                     ext.l      D7
  88. 000000CC  200C                     move.l     D0, A4
  89. 000000CE  D087                     add.l      D0, D7
  90. 000000D0  2040                     movea.l    A0, D0
  91. 000000D2  10BC 0020                move.b     [A0], 0x20 /* ' ' */
  92. 000000D6  5247                     addq.w     D7, 1
  93. 000000D8  5205                     addq.b     D5, 1
  94. 000000DA  6016                     bra        +0x18 /* 000000F2 */
  95. label000000DC:
  96. 000000DC  7000                     moveq.l    D0, 0x00
  97. 000000DE  1006                     move.b     D0, D6
  98. 000000E0  727F                     moveq.l    D1, 0x7F
  99. 000000E2  C200                     and.b      D1, D0
  100. 000000E4  48C7                     ext.l      D7
  101. 000000E6  200C                     move.l     D0, A4
  102. 000000E8  D087                     add.l      D0, D7
  103. 000000EA  2040                     movea.l    A0, D0
  104. 000000EC  1081                     move.b     [A0], D1
  105. 000000EE  5247                     addq.w     D7, 1
  106. 000000F0  5205                     addq.b     D5, 1
  107. label000000F2:
  108. 000000F2  7000                     moveq.l    D0, 0x00
  109. 000000F4  102E FFFF                move.b     D0, [A6 - 0x1]
  110. 000000F8  B044                     cmp.w      D0, D4
  111. 000000FA  6CB2                     bge        -0x4C /* 000000AE */
  112. 000000FC  1885                     move.b     [A4], D5
  113. 000000FE  4CEE 18F0 FFE6           movem.l    D4,D5,D6,D7,A3,A4, [A6 - 0x1A]
  114. 00000104  4E5E                     unlink     A6
  115. 00000106  4E75                     rts
  116. export_2:
  117. 00000108  4E56 FDFE                link       A6, -0x0202
  118. 0000010C  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  119. 00000110  47EE FF00                lea.l      A3, [A6 - 0x100]
  120. 00000114  3C2E 000A                move.w     D6, [A6 + 0xA]
  121. 00000118  486E FE00                pea.l      [A6 - 0x200]
  122. 0000011C  3F3C 0BB9                move.w     -[A7], 0xBB9
  123. 00000120  7005                     moveq.l    D0, 0x05
  124. 00000122  2F00                     move.l     -[A7], D0
  125. 00000124  4EBA 0990                jsr        [PC + 0x990 /* 00000AB6 */]
  126. 00000128  5240                     addq.w     D0, 1
  127. 0000012A  588F                     addq.l     A7, 4
  128. 0000012C  3F00                     move.w     -[A7], D0
  129. 0000012E  4EBA 5AB0                jsr        [PC + 0x5AB0 /* 00005BE0 */]
  130. 00000132  558F                     subq.l     A7, 2
  131. 00000134  A9AF                     syscall    ResError
  132. 00000136  3E1F                     move.w     D7, [A7]+
  133. 00000138  6612                     bne        +0x14 /* 0000014C */
  134. 0000013A  2F0B                     move.l     -[A7], A3
  135. 0000013C  3F3C 0BB8                move.w     -[A7], 0xBB8
  136. 00000140  3F06                     move.w     -[A7], D6
  137. 00000142  4EBA 5A9C                jsr        [PC + 0x5A9C /* 00005BE0 */]
  138. 00000146  558F                     subq.l     A7, 2
  139. 00000148  A9AF                     syscall    ResError
  140. 0000014A  3E1F                     move.w     D7, [A7]+
  141. label0000014C:
  142. 0000014C  4A47                     tst.w      D7
  143. 0000014E  664C                     bne        +0x4E /* 0000019C */
  144. 00000150  486E FE00                pea.l      [A6 - 0x200]
  145. 00000154  2F0B                     move.l     -[A7], A3
  146. 00000156  7000                     moveq.l    D0, 0x00
  147. 00000158  2F00                     move.l     -[A7], D0
  148. 0000015A  2F00                     move.l     -[A7], D0
  149. 0000015C  A98B                     syscall    ParamText
  150. 0000015E  4878 07D2                push.l     0x7D2
  151. 00000162  4EBA 0054                jsr        [PC + 0x54 /* 000001B8 */]
  152. 00000166  2840                     movea.l    A4, D0
  153. 00000168  200C                     move.l     D0, A4
  154. 0000016A  584F                     addq.w     A7, 4
  155. 0000016C  6608                     bne        +0xA /* 00000176 */
  156. 0000016E  558F                     subq.l     A7, 2
  157. 00000170  A9AF                     syscall    ResError
  158. 00000172  3E1F                     move.w     D7, [A7]+
  159. 00000174  6026                     bra        +0x28 /* 0000019C */
  160. label00000176:
  161. 00000176  2F0C                     move.l     -[A7], A4
  162. 00000178  48C6                     ext.l      D6
  163. 0000017A  2F06                     move.l     -[A7], D6
  164. 0000017C  A918                     syscall    SetWRefCon
  165. 0000017E  4A2D DC9C                tst.b      [A5 - 0x2364]
  166. 00000182  660C                     bne        +0xE /* 00000190 */
  167. 00000184  7000                     moveq.l    D0, 0x00
  168. 00000186  2F00                     move.l     -[A7], D0
  169. 00000188  486E FDFE                pea.l      [A6 - 0x202]
  170. 0000018C  A991                     syscall    ModalDialog
  171. 0000018E  6008                     bra        +0xA /* 00000198 */
  172. label00000190:
  173. 00000190  2F0C                     move.l     -[A7], A4
  174. 00000192  4EBA 0092                jsr        [PC + 0x92 /* 00000226 */]
  175. 00000196  584F                     addq.w     A7, 4
  176. label00000198:
  177. 00000198  2F0C                     move.l     -[A7], A4
  178. 0000019A  A983                     syscall    DisposeDialog
  179. label0000019C:
  180. 0000019C  4A47                     tst.w      D7
  181. 0000019E  670E                     beq        +0x10 /* 000001AE */
  182. 000001A0  486D D364                pea.l      [A5 - 0x2C9C]
  183. 000001A4  48C7                     ext.l      D7
  184. 000001A6  2F07                     move.l     -[A7], D7
  185. 000001A8  4EBA 2DFC                jsr        [PC + 0x2DFC /* 00002FA6 */]
  186. 000001AC  504F                     addq.w     A7, 8
  187. label000001AE:
  188. 000001AE  4CEE 18C0 FDEE           movem.l    D6,D7,A3,A4, [A6 - 0x212]
  189. 000001B4  4E5E                     unlink     A6
  190. 000001B6  4E75                     rts
  191. fn000001B8:
  192. 000001B8  4E56 FFF2                link       A6, -0x000E
  193. 000001BC  2F0C                     move.l     -[A7], A4
  194. 000001BE  302E 000A                move.w     D0, [A6 + 0xA]
  195. 000001C2  48C0                     ext.l      D0
  196. 000001C4  2F00                     move.l     -[A7], D0
  197. 000001C6  4EBA 0A52                jsr        [PC + 0xA52 /* 00000C1A */]
  198. 000001CA  2840                     movea.l    A4, D0
  199. 000001CC  2F0C                     move.l     -[A7], A4
  200. 000001CE  7002                     moveq.l    D0, 0x02
  201. 000001D0  3F00                     move.w     -[A7], D0
  202. 000001D2  486E FFFE                pea.l      [A6 - 0x2]
  203. 000001D6  486E FFFA                pea.l      [A6 - 0x6]
  204. 000001DA  486E FFF2                pea.l      [A6 - 0xE]
  205. 000001DE  A98D                     syscall    GetDialogItem/GetDItem
  206. 000001E0  2F0C                     move.l     -[A7], A4
  207. 000001E2  7002                     moveq.l    D0, 0x02
  208. 000001E4  3F00                     move.w     -[A7], D0
  209. 000001E6  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  210. 000001EA  486D 007A                pea.l      [A5 + 0x7A /* export_11 */]
  211. 000001EE  486E FFF2                pea.l      [A6 - 0xE]
  212. 000001F2  A98E                     syscall    SetDialogItem/SetDItem
  213. 000001F4  2F0C                     move.l     -[A7], A4
  214. 000001F6  7004                     moveq.l    D0, 0x04
  215. 000001F8  3F00                     move.w     -[A7], D0
  216. 000001FA  486E FFFE                pea.l      [A6 - 0x2]
  217. 000001FE  486E FFFA                pea.l      [A6 - 0x6]
  218. 00000202  486E FFF2                pea.l      [A6 - 0xE]
  219. 00000206  A98D                     syscall    GetDialogItem/GetDItem
  220. 00000208  2F0C                     move.l     -[A7], A4
  221. 0000020A  7004                     moveq.l    D0, 0x04
  222. 0000020C  3F00                     move.w     -[A7], D0
  223. 0000020E  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  224. 00000212  486D 0042                pea.l      [A5 + 0x42 /* export_4 */]
  225. 00000216  486E FFF2                pea.l      [A6 - 0xE]
  226. 0000021A  A98E                     syscall    SetDialogItem/SetDItem
  227. 0000021C  200C                     move.l     D0, A4
  228. 0000021E  286E FFEE                movea.l    A4, [A6 - 0x12]
  229. 00000222  4E5E                     unlink     A6
  230. 00000224  4E75                     rts
  231. fn00000226:
  232. 00000226  4E56 FFFE                link       A6, -0x0002
  233. 0000022A  48E7 0108                movem.l    -[A7], D7,A4
  234. 0000022E  286E 0008                movea.l    A4, [A6 + 0x8]
  235. 00000232  2F0C                     move.l     -[A7], A4
  236. 00000234  7001                     moveq.l    D0, 0x01
  237. 00000236  3F00                     move.w     -[A7], D0
  238. 00000238  A827                     syscall    HideDialogItem/HideDItem
  239. 0000023A  2F0C                     move.l     -[A7], A4
  240. 0000023C  7002                     moveq.l    D0, 0x02
  241. 0000023E  3F00                     move.w     -[A7], D0
  242. 00000240  A827                     syscall    HideDialogItem/HideDItem
  243. 00000242  2F0C                     move.l     -[A7], A4
  244. 00000244  7005                     moveq.l    D0, 0x05
  245. 00000246  3F00                     move.w     -[A7], D0
  246. 00000248  A827                     syscall    HideDialogItem/HideDItem
  247. 0000024A  598F                     subq.l     A7, 4
  248. 0000024C  A975                     syscall    TickCount
  249. 0000024E  2E1F                     move.l     D7, [A7]+
  250. 00000250  DEBC 0000 012C           add.l      D7, 0x12C
  251. label00000256:
  252. 00000256  486D 003A                pea.l      [A5 + 0x3A /* export_3 */]
  253. 0000025A  486E FFFE                pea.l      [A6 - 0x2]
  254. 0000025E  A991                     syscall    ModalDialog
  255. 00000260  7001                     moveq.l    D0, 0x01
  256. 00000262  B06E FFFE                cmp.w      D0, [A6 - 0x2]
  257. 00000266  6708                     beq        +0xA /* 00000270 */
  258. 00000268  598F                     subq.l     A7, 4
  259. 0000026A  A975                     syscall    TickCount
  260. 0000026C  BE9F                     cmp.l      D7, [A7]+
  261. 0000026E  62E6                     bhi        -0x18 /* 00000256 */
  262. label00000270:
  263. 00000270  4CEE 1080 FFF6           movem.l    D7,A4, [A6 - 0xA]
  264. 00000276  4E5E                     unlink     A6
  265. 00000278  4E75                     rts
  266. export_3:
  267. 0000027A  4E56 0000                link       A6, 0
  268. 0000027E  48E7 0018                movem.l    -[A7], A3,A4
  269. 00000282  266E 0008                movea.l    A3, [A6 + 0x8]
  270. 00000286  286E 000C                movea.l    A4, [A6 + 0xC]
  271. 0000028A  4EBA 0100                jsr        [PC + 0x100 /* 0000038C */]
  272. 0000028E  7003                     moveq.l    D0, 0x03
  273. 00000290  B054                     cmp.w      D0, [A4]
  274. 00000292  6706                     beq        +0x8 /* 0000029A */
  275. 00000294  7001                     moveq.l    D0, 0x01
  276. 00000296  B054                     cmp.w      D0, [A4]
  277. 00000298  660C                     bne        +0xE /* 000002A6 */
  278. label0000029A:
  279. 0000029A  36BC 0001                move.w     [A3], 0x1
  280. 0000029E  1D7C 0001 0014           move.b     [A6 + 0x14], 0x1
  281. 000002A4  601E                     bra        +0x20 /* 000002C4 */
  282. label000002A6:
  283. 000002A6  7002                     moveq.l    D0, 0x02
  284. 000002A8  2F00                     move.l     -[A7], D0
  285. 000002AA  4EBA 080A                jsr        [PC + 0x80A /* 00000AB6 */]
  286. 000002AE  4A40                     tst.w      D0
  287. 000002B0  584F                     addq.w     A7, 4
  288. 000002B2  670C                     beq        +0xE /* 000002C0 */
  289. 000002B4  36BC 0005                move.w     [A3], 0x5
  290. 000002B8  1D7C 0001 0014           move.b     [A6 + 0x14], 0x1
  291. 000002BE  6004                     bra        +0x6 /* 000002C4 */
  292. label000002C0:
  293. 000002C0  422E 0014                clr.b      [A6 + 0x14]
  294. label000002C4:
  295. 000002C4  4CEE 1800 FFF8           movem.l    A3,A4, [A6 - 0x8]
  296. 000002CA  4E5E                     unlink     A6
  297. 000002CC  205F                     movea.l    A0, [A7]+
  298. 000002CE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  299. 000002D2  4ED0                     jmp        [A0]
  300. export_4:
  301. 000002D4  4E56 FFFC                link       A6, -0x0004
  302. 000002D8  2F07                     move.l     -[A7], D7
  303. 000002DA  3D7C 0005 FFFE           move.w     [A6 - 0x2], 0x5
  304. 000002E0  3D7C 0005 FFFC           move.w     [A6 - 0x4], 0x5
  305. 000002E6  598F                     subq.l     A7, 4
  306. 000002E8  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  307. 000002EC  A917                     syscall    GetWRefCon
  308. 000002EE  201F                     move.l     D0, [A7]+
  309. 000002F0  3E00                     move.w     D7, D0
  310. 000002F2  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  311. 000002F6  700C                     moveq.l    D0, 0x0C
  312. 000002F8  2F00                     move.l     -[A7], D0
  313. 000002FA  48C7                     ext.l      D7
  314. 000002FC  2F07                     move.l     -[A7], D7
  315. 000002FE  4EAD 0512                jsr        [A5 + 0x512 /* export_158 */]
  316. 00000302  2E2E FFF8                move.l     D7, [A6 - 0x8]
  317. 00000306  4E5E                     unlink     A6
  318. 00000308  205F                     movea.l    A0, [A7]+
  319. 0000030A  5C4F                     addq.w     A7, 6
  320. 0000030C  4ED0                     jmp        [A0]
  321. export_5:
  322. 0000030E  4E56 0000                link       A6, 0
  323. 00000312  4A2D D3C9                tst.b      [A5 - 0x2C37]
  324. 00000316  57C0                     seq        D0
  325. 00000318  4400                     neg.b      D0
  326. 0000031A  1D40 0008                move.b     [A6 + 0x8], D0
  327. 0000031E  4E5E                     unlink     A6
  328. 00000320  4E75                     rts
  329. export_6:
  330. fn00000322:
  331. 00000322  4E56 0000                link       A6, 0
  332. 00000326  1D6D D3CF 0008           move.b     [A6 + 0x8], [A5 - 0x2C31]
  333. 0000032C  4E5E                     unlink     A6
  334. 0000032E  4E75                     rts
  335. export_7:
  336. fn00000330:
  337. 00000330  4E56 0000                link       A6, 0
  338. 00000334  1D6D D3CE 0008           move.b     [A6 + 0x8], [A5 - 0x2C32]
  339. 0000033A  4E5E                     unlink     A6
  340. 0000033C  4E75                     rts
  341. export_8:
  342. 0000033E  4E56 FFF4                link       A6, -0x000C
  343. 00000342  2F07                     move.l     -[A7], D7
  344. 00000344  206E 0008                movea.l    A0, [A6 + 0x8]
  345. 00000348  43EE FFF8                lea.l      A1, [A6 - 0x8]
  346. 0000034C  22D8                     move.l     [A1]+, [A0]+
  347. 0000034E  22D8                     move.l     [A1]+, [A0]+
  348. 00000350  0C6E 1234 FFFA           cmpi.w     [A6 - 0x6], 0x1234
  349. 00000356  662A                     bne        +0x2C /* 00000382 */
  350. 00000358  42A7                     clr.l      -[A7]
  351. 0000035A  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  352. 0000035E  2F4D 0004                move.l     [A7 + 0x4], A5
  353. 00000362  2A5F                     movea.l    A5, [A7]+
  354. 00000364  2E1F                     move.l     D7, [A7]+
  355. 00000366  206E 000C                movea.l    A0, [A6 + 0xC]
  356. 0000036A  70FF                     moveq.l    D0, 0xFFFFFFFF
  357. 0000036C  2140 000C                move.l     [A0 + 0xC], D0
  358. 00000370  1B7C 0001 D3CF           move.b     [A5 - 0x2C31], 0x1
  359. 00000376  42A7                     clr.l      -[A7]
  360. 00000378  2F07                     move.l     -[A7], D7
  361. 0000037A  2F4D 0004                move.l     [A7 + 0x4], A5
  362. 0000037E  2A5F                     movea.l    A5, [A7]+
  363. 00000380  2E1F                     move.l     D7, [A7]+
  364. label00000382:
  365. 00000382  2E1F                     move.l     D7, [A7]+
  366. 00000384  4E5E                     unlink     A6
  367. 00000386  205F                     movea.l    A0, [A7]+
  368. 00000388  504F                     addq.w     A7, 8
  369. 0000038A  4ED0                     jmp        [A0]
  370. fn0000038C:
  371. 0000038C  4E56 0000                link       A6, 0
  372. 00000390  48E7 0108                movem.l    -[A7], D7,A4
  373. 00000394  49ED D3E2                lea.l      A4, [A5 - 0x2C1E]
  374. 00000398  558F                     subq.l     A7, 2
  375. 0000039A  4EBA FF86                jsr        [PC - 0x7A /* 00000322 */]
  376. 0000039E  4A1F                     tst.b      [A7]+
  377. 000003A0  6718                     beq        +0x1A /* 000003BA */
  378. 000003A2  4EAD 058A                jsr        [A5 + 0x58A /* export_173 */]
  379. 000003A6  558F                     subq.l     A7, 2
  380. 000003A8  4EBA FF86                jsr        [PC - 0x7A /* 00000330 */]
  381. 000003AC  4A1F                     tst.b      [A7]+
  382. 000003AE  660A                     bne        +0xC /* 000003BA */
  383. 000003B0  4A2D D3E0                tst.b      [A5 - 0x2C20]
  384. 000003B4  6704                     beq        +0x6 /* 000003BA */
  385. 000003B6  422D D3E0                clr.b      [A5 - 0x2C20]
  386. label000003BA:
  387. 000003BA  4A6D D3F8                tst.w      [A5 - 0x2C08]
  388. 000003BE  6710                     beq        +0x12 /* 000003D0 */
  389. 000003C0  558F                     subq.l     A7, 2
  390. 000003C2  4EBA FF6C                jsr        [PC - 0x94 /* 00000330 */]
  391. 000003C6  4A1F                     tst.b      [A7]+
  392. 000003C8  663E                     bne        +0x40 /* 00000408 */
  393. 000003CA  4EAD 05C2                jsr        [A5 + 0x5C2 /* export_180 */]
  394. 000003CE  6038                     bra        +0x3A /* 00000408 */
  395. label000003D0:
  396. 000003D0  4A6D D3F6                tst.w      [A5 - 0x2C0A]
  397. 000003D4  6732                     beq        +0x34 /* 00000408 */
  398. 000003D6  3014                     move.w     D0, [A4]
  399. 000003D8  48C0                     ext.l      D0
  400. 000003DA  2F00                     move.l     -[A7], D0
  401. 000003DC  4EAD 05A2                jsr        [A5 + 0x5A2 /* export_176 */]
  402. 000003E0  302D D3F6                move.w     D0, [A5 - 0x2C0A]
  403. 000003E4  536D D3F6                subq.w     [A5 - 0x2C0A], 1
  404. 000003E8  4247                     clr.w      D7
  405. 000003EA  584F                     addq.w     A7, 4
  406. 000003EC  6014                     bra        +0x16 /* 00000402 */
  407. label000003EE:
  408. 000003EE  48C7                     ext.l      D7
  409. 000003F0  2007                     move.l     D0, D7
  410. 000003F2  D040                     add.w      D0, D0
  411. 000003F4  2207                     move.l     D1, D7
  412. 000003F6  D241                     add.w      D1, D1
  413. 000003F8  39B4 0002 1000           move.w     [A4 + D1.w], [A4 + D0.w + 0x2]
  414. 000003FE  3007                     move.w     D0, D7
  415. 00000400  5247                     addq.w     D7, 1
  416. label00000402:
  417. 00000402  BE6D D3F6                cmp.w      D7, [A5 - 0x2C0A]
  418. 00000406  6DE6                     blt        -0x18 /* 000003EE */
  419. label00000408:
  420. 00000408  4CEE 1080 FFF8           movem.l    D7,A4, [A6 - 0x8]
  421. 0000040E  4E5E                     unlink     A6
  422. 00000410  4E75                     rts
  423. export_9:
  424. fn00000412:
  425. 00000412  4E56 0000                link       A6, 0
  426. 00000416  206E 000C                movea.l    A0, [A6 + 0xC]
  427. 0000041A  226E 0008                movea.l    A1, [A6 + 0x8]
  428. 0000041E  7000                     moveq.l    D0, 0x00
  429. 00000420  1010                     move.b     D0, [A0]
  430. label00000422:
  431. 00000422  12D8                     move.b     [A1]+, [A0]+
  432. 00000424  51C8 FFFC                dbf        D0, -0x6 /* 00000422 */
  433. 00000428  4E5E                     unlink     A6
  434. 0000042A  205F                     movea.l    A0, [A7]+
  435. 0000042C  504F                     addq.w     A7, 8
  436. 0000042E  4ED0                     jmp        [A0]
  437. fn00000430:
  438. 00000430  4E56 0000                link       A6, 0
  439. 00000434  48E7 1F30                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3
  440. 00000438  246E 0010                movea.l    A2, [A6 + 0x10]
  441. 0000043C  266E 0008                movea.l    A3, [A6 + 0x8]
  442. 00000440  7A00                     moveq.l    D5, 0x00
  443. 00000442  1A2E 000E                move.b     D5, [A6 + 0xE]
  444. 00000446  7600                     moveq.l    D3, 0x00
  445. 00000448  162E 000C                move.b     D3, [A6 + 0xC]
  446. 0000044C  3803                     move.w     D4, D3
  447. 0000044E  4444                     neg.w      D4
  448. 00000450  200B                     move.l     D0, A3
  449. 00000452  673C                     beq        +0x3E /* 00000490 */
  450. 00000454  7800                     moveq.l    D4, 0x00
  451. 00000456  1813                     move.b     D4, [A3]
  452. 00000458  9843                     sub.w      D4, D3
  453. 0000045A  6F1C                     ble        +0x1E /* 00000478 */
  454. 0000045C  7C00                     moveq.l    D6, 0x00
  455. 0000045E  1C12                     move.b     D6, [A2]
  456. 00000460  3E06                     move.w     D7, D6
  457. 00000462  9E45                     sub.w      D7, D5
  458. 00000464  9E43                     sub.w      D7, D3
  459. 00000466  D91A                     add.b      [A2]+, D4
  460. 00000468  D4C6                     add.w      A2, D6
  461. 0000046A  284A                     movea.l    A4, A2
  462. 0000046C  D8C4                     add.w      A4, D4
  463. 0000046E  6002                     bra        +0x4 /* 00000472 */
  464. label00000470:
  465. 00000470  1922                     move.b     -[A4], -[A2]
  466. label00000472:
  467. 00000472  51CF FFFC                dbf        D7, -0x6 /* 00000470 */
  468. 00000476  600A                     bra        +0xC /* 00000482 */
  469. label00000478:
  470. 00000478  284A                     movea.l    A4, A2
  471. 0000047A  D8C5                     add.w      A4, D5
  472. 0000047C  D8C3                     add.w      A4, D3
  473. 0000047E  D8C4                     add.w      A4, D4
  474. 00000480  524C                     addq.w     A4, 1
  475. label00000482:
  476. 00000482  7E00                     moveq.l    D7, 0x00
  477. 00000484  1E1B                     move.b     D7, [A3]+
  478. 00000486  D6C7                     add.w      A3, D7
  479. 00000488  6002                     bra        +0x4 /* 0000048C */
  480. label0000048A:
  481. 0000048A  1923                     move.b     -[A4], -[A3]
  482. label0000048C:
  483. 0000048C  51CF FFFC                dbf        D7, -0x6 /* 0000048A */
  484. label00000490:
  485. 00000490  4A44                     tst.w      D4
  486. 00000492  6C1C                     bge        +0x1E /* 000004B0 */
  487. 00000494  7E00                     moveq.l    D7, 0x00
  488. 00000496  1E12                     move.b     D7, [A2]
  489. 00000498  9E45                     sub.w      D7, D5
  490. 0000049A  9E43                     sub.w      D7, D3
  491. 0000049C  D912                     add.b      [A2], D4
  492. 0000049E  D4C5                     add.w      A2, D5
  493. 000004A0  D4C3                     add.w      A2, D3
  494. 000004A2  524A                     addq.w     A2, 1
  495. 000004A4  284A                     movea.l    A4, A2
  496. 000004A6  D8C4                     add.w      A4, D4
  497. 000004A8  6002                     bra        +0x4 /* 000004AC */
  498. label000004AA:
  499. 000004AA  18DA                     move.b     [A4]+, [A2]+
  500. label000004AC:
  501. 000004AC  51CF FFFC                dbf        D7, -0x6 /* 000004AA */
  502. label000004B0:
  503. 000004B0  4CDF 0CF8                movem.l    D3,D4,D5,D6,D7,A2,A3, [A7]+
  504. 000004B4  4E5E                     unlink     A6
  505. 000004B6  205F                     movea.l    A0, [A7]+
  506. 000004B8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  507. 000004BC  4ED0                     jmp        [A0]
  508. export_10:
  509. fn000004BE:
  510. 000004BE  4E56 FFF8                link       A6, -0x0008
  511. 000004C2  7003                     moveq.l    D0, 0x03
  512. 000004C4  3F00                     move.w     -[A7], D0
  513. 000004C6  3F00                     move.w     -[A7], D0
  514. 000004C8  A89B                     syscall    PenSize
  515. 000004CA  206E 0008                movea.l    A0, [A6 + 0x8]
  516. 000004CE  2050                     movea.l    A0, [A0]
  517. 000004D0  43EE FFF8                lea.l      A1, [A6 - 0x8]
  518. 000004D4  5088                     addq.l     A0, 8
  519. 000004D6  22D8                     move.l     [A1]+, [A0]+
  520. 000004D8  22D8                     move.l     [A1]+, [A0]+
  521. 000004DA  486E FFF8                pea.l      [A6 - 0x8]
  522. 000004DE  70FC                     moveq.l    D0, 0xFFFFFFFC
  523. 000004E0  3F00                     move.w     -[A7], D0
  524. 000004E2  3F00                     move.w     -[A7], D0
  525. 000004E4  A8A9                     syscall    InsetRect
  526. 000004E6  486E FFF8                pea.l      [A6 - 0x8]
  527. 000004EA  7010                     moveq.l    D0, 0x10
  528. 000004EC  3F00                     move.w     -[A7], D0
  529. 000004EE  3F00                     move.w     -[A7], D0
  530. 000004F0  A8B0                     syscall    FrameRoundRect
  531. 000004F2  7001                     moveq.l    D0, 0x01
  532. 000004F4  3F00                     move.w     -[A7], D0
  533. 000004F6  3F00                     move.w     -[A7], D0
  534. 000004F8  A89B                     syscall    PenSize
  535. 000004FA  4E5E                     unlink     A6
  536. 000004FC  4E75                     rts
  537. export_11:
  538. 000004FE  4E56 FFE0                link       A6, -0x0020
  539. 00000502  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  540. 00000506  3F2E 0008                move.w     -[A7], [A6 + 0x8]
  541. 0000050A  486E FFEC                pea.l      [A6 - 0x14]
  542. 0000050E  486E FFE8                pea.l      [A6 - 0x18]
  543. 00000512  486E FFE0                pea.l      [A6 - 0x20]
  544. 00000516  A98D                     syscall    GetDialogItem/GetDItem
  545. 00000518  486E FFEE                pea.l      [A6 - 0x12]
  546. 0000051C  A898                     syscall    GetPenState
  547. 0000051E  7003                     moveq.l    D0, 0x03
  548. 00000520  3F00                     move.w     -[A7], D0
  549. 00000522  3F00                     move.w     -[A7], D0
  550. 00000524  A89B                     syscall    PenSize
  551. 00000526  486E FFE0                pea.l      [A6 - 0x20]
  552. 0000052A  7010                     moveq.l    D0, 0x10
  553. 0000052C  3F00                     move.w     -[A7], D0
  554. 0000052E  3F00                     move.w     -[A7], D0
  555. 00000530  A8B0                     syscall    FrameRoundRect
  556. 00000532  486E FFEE                pea.l      [A6 - 0x12]
  557. 00000536  A899                     syscall    SetPenState
  558. 00000538  4E5E                     unlink     A6
  559. 0000053A  205F                     movea.l    A0, [A7]+
  560. 0000053C  5C4F                     addq.w     A7, 6
  561. 0000053E  4ED0                     jmp        [A0]
  562. export_12:
  563. fn00000540:
  564. 00000540  4E56 0000                link       A6, 0
  565. 00000544  48E7 0118                movem.l    -[A7], D7,A3,A4
  566. 00000548  266E 000C                movea.l    A3, [A6 + 0xC]
  567. 0000054C  286E 0008                movea.l    A4, [A6 + 0x8]
  568. 00000550  1E14                     move.b     D7, [A4]
  569. label00000552:
  570. 00000552  16DC                     move.b     [A3]+, [A4]+
  571. 00000554  1007                     move.b     D0, D7
  572. 00000556  5307                     subq.b     D7, 1
  573. 00000558  4A00                     tst.b      D0
  574. 0000055A  66F6                     bne        -0x8 /* 00000552 */
  575. 0000055C  4CEE 1880 FFF4           movem.l    D7,A3,A4, [A6 - 0xC]
  576. 00000562  4E5E                     unlink     A6
  577. 00000564  4E75                     rts
  578. export_13:
  579. fn00000566:
  580. 00000566  4E56 0000                link       A6, 0
  581. 0000056A  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  582. 0000056E  4EBA 04E8                jsr        [PC + 0x4E8 /* 00000A58 */]
  583. 00000572  558F                     subq.l     A7, 2
  584. 00000574  3F3C 07D5                move.w     -[A7], 0x7D5
  585. 00000578  7000                     moveq.l    D0, 0x00
  586. 0000057A  2F00                     move.l     -[A7], D0
  587. 0000057C  A988                     syscall    CautionAlert
  588. 0000057E  4E5E                     unlink     A6
  589. 00000580  4E75                     rts
  590. export_14:
  591. fn00000582:
  592. 00000582  4E56 FFF8                link       A6, -0x0008
  593. 00000586  2F0C                     move.l     -[A7], A4
  594. 00000588  286E 0008                movea.l    A4, [A6 + 0x8]
  595. 0000058C  41EE FFF8                lea.l      A0, [A6 - 0x8]
  596. 00000590  43EC 0010                lea.l      A1, [A4 + 0x10]
  597. 00000594  20D9                     move.l     [A0]+, [A1]+
  598. 00000596  20D9                     move.l     [A0]+, [A1]+
  599. 00000598  486E FFF8                pea.l      [A6 - 0x8]
  600. 0000059C  4EBA 0082                jsr        [PC + 0x82 /* 00000620 */]
  601. 000005A0  2F0C                     move.l     -[A7], A4
  602. 000005A2  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  603. 000005A6  7000                     moveq.l    D0, 0x00
  604. 000005A8  1F00                     move.b     -[A7], D0
  605. 000005AA  A91B                     syscall    MoveWindow
  606. 000005AC  286E FFF4                movea.l    A4, [A6 - 0xC]
  607. 000005B0  4E5E                     unlink     A6
  608. 000005B2  4E75                     rts
  609. export_15:
  610. fn000005B4:
  611. 000005B4  4E56 FFFE                link       A6, -0x0002
  612. 000005B8  2F0C                     move.l     -[A7], A4
  613. 000005BA  4EAD 05AA                jsr        [A5 + 0x5AA /* export_177 */]
  614. 000005BE  598F                     subq.l     A7, 4
  615. 000005C0  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  616. 000005C4  7000                     moveq.l    D0, 0x00
  617. 000005C6  2F00                     move.l     -[A7], D0
  618. 000005C8  72FF                     moveq.l    D1, 0xFFFFFFFF
  619. 000005CA  2F01                     move.l     -[A7], D1
  620. 000005CC  A97C                     syscall    GetNewDialog
  621. 000005CE  285F                     movea.l    A4, [A7]+
  622. 000005D0  200C                     move.l     D0, A4
  623. 000005D2  6616                     bne        +0x18 /* 000005EA */
  624. 000005D4  486D D694                pea.l      [A5 - 0x296C]
  625. 000005D8  558F                     subq.l     A7, 2
  626. 000005DA  A9AF                     syscall    ResError
  627. 000005DC  301F                     move.w     D0, [A7]+
  628. 000005DE  48C0                     ext.l      D0
  629. 000005E0  2F00                     move.l     -[A7], D0
  630. 000005E2  4EBA 29C2                jsr        [PC + 0x29C2 /* 00002FA6 */]
  631. 000005E6  504F                     addq.w     A7, 8
  632. 000005E8  602A                     bra        +0x2C /* 00000614 */
  633. label000005EA:
  634. 000005EA  2F0C                     move.l     -[A7], A4
  635. 000005EC  4EBA FF94                jsr        [PC - 0x6C /* 00000582 */]
  636. 000005F0  7002                     moveq.l    D0, 0x02
  637. 000005F2  2F00                     move.l     -[A7], D0
  638. 000005F4  7201                     moveq.l    D1, 0x01
  639. 000005F6  2F01                     move.l     -[A7], D1
  640. 000005F8  2F0C                     move.l     -[A7], A4
  641. 000005FA  4EBA 04FE                jsr        [PC + 0x4FE /* 00000AFA */]
  642. 000005FE  2F0C                     move.l     -[A7], A4
  643. 00000600  A915                     syscall    ShowWindow
  644. 00000602  7000                     moveq.l    D0, 0x00
  645. 00000604  2F00                     move.l     -[A7], D0
  646. 00000606  486E FFFE                pea.l      [A6 - 0x2]
  647. 0000060A  A991                     syscall    ModalDialog
  648. 0000060C  2F0C                     move.l     -[A7], A4
  649. 0000060E  A983                     syscall    DisposeDialog
  650. 00000610  4FEF 0010                lea.l      A7, [A7 + 0x10]
  651. label00000614:
  652. 00000614  302E FFFE                move.w     D0, [A6 - 0x2]
  653. 00000618  286E FFFA                movea.l    A4, [A6 - 0x6]
  654. 0000061C  4E5E                     unlink     A6
  655. 0000061E  4E75                     rts
  656. export_16:
  657. fn00000620:
  658. 00000620  4E56 FFF0                link       A6, -0x0010
  659. 00000624  48E7 0018                movem.l    -[A7], A3,A4
  660. 00000628  286E 0008                movea.l    A4, [A6 + 0x8]
  661. 0000062C  4AAD DCD6                tst.l      [A5 - 0x232A]
  662. 00000630  6730                     beq        +0x32 /* 00000662 */
  663. 00000632  206D DCD6                movea.l    A0, [A5 - 0x232A]
  664. 00000636  43EE FFF0                lea.l      A1, [A6 - 0x10]
  665. 0000063A  41E8 0010                lea.l      A0, [A0 + 0x10]
  666. 0000063E  22D8                     move.l     [A1]+, [A0]+
  667. 00000640  22D8                     move.l     [A1]+, [A0]+
  668. 00000642  486E FFFC                pea.l      [A6 - 0x4]
  669. 00000646  A874                     syscall    GetPort
  670. 00000648  2F2D DCD6                move.l     -[A7], [A5 - 0x232A]
  671. 0000064C  A873                     syscall    SetPort
  672. 0000064E  486E FFF0                pea.l      [A6 - 0x10]
  673. 00000652  A870                     syscall    LocalToGlobal
  674. 00000654  486E FFF4                pea.l      [A6 - 0xC]
  675. 00000658  A870                     syscall    LocalToGlobal
  676. 0000065A  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  677. 0000065E  A873                     syscall    SetPort
  678. 00000660  600C                     bra        +0xE /* 0000066E */
  679. label00000662:
  680. 00000662  41EE FFF0                lea.l      A0, [A6 - 0x10]
  681. 00000666  43ED FE0A                lea.l      A1, [A5 - 0x1F6]
  682. 0000066A  20D9                     move.l     [A0]+, [A1]+
  683. 0000066C  20D9                     move.l     [A0]+, [A1]+
  684. label0000066E:
  685. 0000066E  2F0C                     move.l     -[A7], A4
  686. 00000670  4EBA 039E                jsr        [PC + 0x39E /* 00000A10 */]
  687. 00000674  2D40 FFF8                move.l     [A6 - 0x8], D0
  688. 00000678  302E FFF6                move.w     D0, [A6 - 0xA]
  689. 0000067C  48C0                     ext.l      D0
  690. 0000067E  322E FFF2                move.w     D1, [A6 - 0xE]
  691. 00000682  48C1                     ext.l      D1
  692. 00000684  9081                     sub.l      D0, D1
  693. 00000686  322E FFFA                move.w     D1, [A6 - 0x6]
  694. 0000068A  48C1                     ext.l      D1
  695. 0000068C  9081                     sub.l      D0, D1
  696. 0000068E  7202                     moveq.l    D1, 0x02
  697. 00000690  4EBA 4F20                jsr        [PC + 0x4F20 /* 000055B2 */]
  698. 00000694  D06E FFF2                add.w      D0, [A6 - 0xE]
  699. 00000698  3940 0002                move.w     [A4 + 0x2], D0
  700. 0000069C  302E FFF4                move.w     D0, [A6 - 0xC]
  701. 000006A0  48C0                     ext.l      D0
  702. 000006A2  322E FFF0                move.w     D1, [A6 - 0x10]
  703. 000006A6  48C1                     ext.l      D1
  704. 000006A8  9081                     sub.l      D0, D1
  705. 000006AA  322E FFF8                move.w     D1, [A6 - 0x8]
  706. 000006AE  48C1                     ext.l      D1
  707. 000006B0  9081                     sub.l      D0, D1
  708. 000006B2  7202                     moveq.l    D1, 0x02
  709. 000006B4  4EBA 4EFC                jsr        [PC + 0x4EFC /* 000055B2 */]
  710. 000006B8  D06E FFF0                add.w      D0, [A6 - 0x10]
  711. 000006BC  3880                     move.w     [A4], D0
  712. 000006BE  302E FFFA                move.w     D0, [A6 - 0x6]
  713. 000006C2  D06C 0002                add.w      D0, [A4 + 0x2]
  714. 000006C6  3940 0006                move.w     [A4 + 0x6], D0
  715. 000006CA  302E FFF8                move.w     D0, [A6 - 0x8]
  716. 000006CE  D054                     add.w      D0, [A4]
  717. 000006D0  3940 0004                move.w     [A4 + 0x4], D0
  718. 000006D4  598F                     subq.l     A7, 4
  719. 000006D6  A8D8                     syscall    NewRgn
  720. 000006D8  2657                     movea.l    A3, [A7]
  721. 000006DA  2F0C                     move.l     -[A7], A4
  722. 000006DC  A8DF                     syscall    RectRgn
  723. 000006DE  2F0B                     move.l     -[A7], A3
  724. 000006E0  2F38 09EE                move.l     -[A7], [0x000009EE /* GrayRgn */]
  725. 000006E4  2F0B                     move.l     -[A7], A3
  726. 000006E6  A8E6                     syscall    DiffRgn
  727. 000006E8  558F                     subq.l     A7, 2
  728. 000006EA  2F0B                     move.l     -[A7], A3
  729. 000006EC  A8E2                     syscall    EmptyRgn
  730. 000006EE  4A1F                     tst.b      [A7]+
  731. 000006F0  584F                     addq.w     A7, 4
  732. 000006F2  664C                     bne        +0x4E /* 00000740 */
  733. 000006F4  302D FE10                move.w     D0, [A5 - 0x1F0]
  734. 000006F8  48C0                     ext.l      D0
  735. 000006FA  322E FFFA                move.w     D1, [A6 - 0x6]
  736. 000006FE  48C1                     ext.l      D1
  737. 00000700  9081                     sub.l      D0, D1
  738. 00000702  7202                     moveq.l    D1, 0x02
  739. 00000704  4EBA 4EAC                jsr        [PC + 0x4EAC /* 000055B2 */]
  740. 00000708  3940 0002                move.w     [A4 + 0x2], D0
  741. 0000070C  302E FFFA                move.w     D0, [A6 - 0x6]
  742. 00000710  D06C 0002                add.w      D0, [A4 + 0x2]
  743. 00000714  3940 0006                move.w     [A4 + 0x6], D0
  744. 00000718  302D FE0E                move.w     D0, [A5 - 0x1F2]
  745. 0000071C  48C0                     ext.l      D0
  746. 0000071E  7214                     moveq.l    D1, 0x14
  747. 00000720  9081                     sub.l      D0, D1
  748. 00000722  342E FFF8                move.w     D2, [A6 - 0x8]
  749. 00000726  48C2                     ext.l      D2
  750. 00000728  9082                     sub.l      D0, D2
  751. 0000072A  7202                     moveq.l    D1, 0x02
  752. 0000072C  4EBA 4E84                jsr        [PC + 0x4E84 /* 000055B2 */]
  753. 00000730  D07C 0014                add.w      D0, 0x14
  754. 00000734  3880                     move.w     [A4], D0
  755. 00000736  302E FFF8                move.w     D0, [A6 - 0x8]
  756. 0000073A  D054                     add.w      D0, [A4]
  757. 0000073C  3940 0004                move.w     [A4 + 0x4], D0
  758. label00000740:
  759. 00000740  2F0B                     move.l     -[A7], A3
  760. 00000742  A8D9                     syscall    DisposRgn/DisposeRgn
  761. 00000744  4CEE 1800 FFE8           movem.l    A3,A4, [A6 - 0x18]
  762. 0000074A  4E5E                     unlink     A6
  763. 0000074C  4E75                     rts
  764. export_17:
  765. fn0000074E:
  766. 0000074E  4E56 FFEE                link       A6, -0x0012
  767. 00000752  48E7 0718                movem.l    -[A7], D5,D6,D7,A3,A4
  768. 00000756  266E 000C                movea.l    A3, [A6 + 0xC]
  769. 0000075A  286E 0008                movea.l    A4, [A6 + 0x8]
  770. 0000075E  2C2B 0002                move.l     D6, [A3 + 0x2]
  771. 00000762  CCBC 0000 00FF           and.l      D6, 0xFF
  772. 00000768  7003                     moveq.l    D0, 0x03
  773. 0000076A  B053                     cmp.w      D0, [A3]
  774. 0000076C  6658                     bne        +0x5A /* 000007C6 */
  775. 0000076E  0C06 000D                cmpi.b     D6, 0xD /* '\r' */
  776. 00000772  6706                     beq        +0x8 /* 0000077A */
  777. 00000774  0C06 0003                cmpi.b     D6, 0x3
  778. 00000778  664C                     bne        +0x4E /* 000007C6 */
  779. label0000077A:
  780. 0000077A  206E 0010                movea.l    A0, [A6 + 0x10]
  781. 0000077E  30AC 00A8                move.w     [A0], [A4 + 0xA8]
  782. 00000782  206E 0010                movea.l    A0, [A6 + 0x10]
  783. 00000786  3010                     move.w     D0, [A0]
  784. 00000788  48C0                     ext.l      D0
  785. 0000078A  2F00                     move.l     -[A7], D0
  786. 0000078C  2F0C                     move.l     -[A7], A4
  787. 0000078E  4EBA 013A                jsr        [PC + 0x13A /* 000008CA */]
  788. 00000792  508F                     addq.l     A7, 8
  789. 00000794  2F00                     move.l     -[A7], D0
  790. 00000796  7001                     moveq.l    D0, 0x01
  791. 00000798  3F00                     move.w     -[A7], D0
  792. 0000079A  A95D                     syscall    HiliteControl
  793. 0000079C  307C 0008                movea.w    A0, 0x8
  794. 000007A0  43EE FFEE                lea.l      A1, [A6 - 0x12]
  795. 000007A4  A03B                     syscall    Delay
  796. 000007A6  2280                     move.l     [A1], D0
  797. 000007A8  206E 0010                movea.l    A0, [A6 + 0x10]
  798. 000007AC  3010                     move.w     D0, [A0]
  799. 000007AE  48C0                     ext.l      D0
  800. 000007B0  2F00                     move.l     -[A7], D0
  801. 000007B2  2F0C                     move.l     -[A7], A4
  802. 000007B4  4EBA 0114                jsr        [PC + 0x114 /* 000008CA */]
  803. 000007B8  508F                     addq.l     A7, 8
  804. 000007BA  2F00                     move.l     -[A7], D0
  805. 000007BC  7000                     moveq.l    D0, 0x00
  806. 000007BE  3F00                     move.w     -[A7], D0
  807. 000007C0  A95D                     syscall    HiliteControl
  808. 000007C2  7001                     moveq.l    D0, 0x01
  809. 000007C4  607E                     bra        +0x80 /* 00000844 */
  810. label000007C6:
  811. 000007C6  7003                     moveq.l    D0, 0x03
  812. 000007C8  B053                     cmp.w      D0, [A3]
  813. 000007CA  6706                     beq        +0x8 /* 000007D2 */
  814. 000007CC  7005                     moveq.l    D0, 0x05
  815. 000007CE  B053                     cmp.w      D0, [A3]
  816. 000007D0  6670                     bne        +0x72 /* 00000842 */
  817. label000007D2:
  818. 000007D2  0C06 0009                cmpi.b     D6, 0x9 /* '\t' */
  819. 000007D6  666A                     bne        +0x6C /* 00000842 */
  820. 000007D8  4A6C 00A4                tst.w      [A4 + 0xA4]
  821. 000007DC  6D64                     blt        +0x66 /* 00000842 */
  822. 000007DE  3C2C 00A4                move.w     D6, [A4 + 0xA4]
  823. 000007E2  5246                     addq.w     D6, 1
  824. 000007E4  206C 009C                movea.l    A0, [A4 + 0x9C]
  825. 000007E8  2050                     movea.l    A0, [A0]
  826. 000007EA  3A10                     move.w     D5, [A0]
  827. 000007EC  5245                     addq.w     D5, 1
  828. 000007EE  BA46                     cmp.w      D5, D6
  829. 000007F0  6F06                     ble        +0x8 /* 000007F8 */
  830. 000007F2  3006                     move.w     D0, D6
  831. 000007F4  5240                     addq.w     D0, 1
  832. 000007F6  6002                     bra        +0x4 /* 000007FA */
  833. label000007F8:
  834. 000007F8  7001                     moveq.l    D0, 0x01
  835. label000007FA:
  836. 000007FA  3E00                     move.w     D7, D0
  837. 000007FC  602E                     bra        +0x30 /* 0000082C */
  838. label000007FE:
  839. 000007FE  2F0C                     move.l     -[A7], A4
  840. 00000800  3F07                     move.w     -[A7], D7
  841. 00000802  486E FFF2                pea.l      [A6 - 0xE]
  842. 00000806  486E FFF4                pea.l      [A6 - 0xC]
  843. 0000080A  486E FFF8                pea.l      [A6 - 0x8]
  844. 0000080E  A98D                     syscall    GetDialogItem/GetDItem
  845. 00000810  303C FF7F                move.w     D0, 0xFF7F
  846. 00000814  C06E FFF2                and.w      D0, [A6 - 0xE]
  847. 00000818  0C40 0010                cmpi.w     D0, 0x10
  848. 0000081C  6712                     beq        +0x14 /* 00000830 */
  849. 0000081E  BA47                     cmp.w      D5, D7
  850. 00000820  6F06                     ble        +0x8 /* 00000828 */
  851. 00000822  3007                     move.w     D0, D7
  852. 00000824  5240                     addq.w     D0, 1
  853. 00000826  6002                     bra        +0x4 /* 0000082A */
  854. label00000828:
  855. 00000828  7001                     moveq.l    D0, 0x01
  856. label0000082A:
  857. 0000082A  3E00                     move.w     D7, D0
  858. label0000082C:
  859. 0000082C  BC47                     cmp.w      D6, D7
  860. 0000082E  66CE                     bne        -0x30 /* 000007FE */
  861. label00000830:
  862. 00000830  2F0C                     move.l     -[A7], A4
  863. 00000832  3F07                     move.w     -[A7], D7
  864. 00000834  7000                     moveq.l    D0, 0x00
  865. 00000836  3F00                     move.w     -[A7], D0
  866. 00000838  3F3C 7FFF                move.w     -[A7], 0x7FFF
  867. 0000083C  A97E                     syscall    SelectDialogItemText/SelIText
  868. 0000083E  7001                     moveq.l    D0, 0x01
  869. 00000840  6002                     bra        +0x4 /* 00000844 */
  870. label00000842:
  871. 00000842  7000                     moveq.l    D0, 0x00
  872. label00000844:
  873. 00000844  4CEE 18E0 FFDA           movem.l    D5,D6,D7,A3,A4, [A6 - 0x26]
  874. 0000084A  4E5E                     unlink     A6
  875. 0000084C  4E75                     rts
  876. export_18:
  877. fn0000084E:
  878. 0000084E  4E56 FFF2                link       A6, -0x000E
  879. 00000852  48E7 1008                movem.l    -[A7], D3,A4
  880. 00000856  286E 0008                movea.l    A4, [A6 + 0x8]
  881. 0000085A  2F0C                     move.l     -[A7], A4
  882. 0000085C  3F2E 000E                move.w     -[A7], [A6 + 0xE]
  883. 00000860  486E FFF2                pea.l      [A6 - 0xE]
  884. 00000864  486E FFF4                pea.l      [A6 - 0xC]
  885. 00000868  486E FFF8                pea.l      [A6 - 0x8]
  886. 0000086C  A98D                     syscall    GetDialogItem/GetDItem
  887. 0000086E  7600                     moveq.l    D3, 0x00
  888. 00000870  2F03                     move.l     -[A7], D3
  889. 00000872  558F                     subq.l     A7, 2
  890. 00000874  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  891. 00000878  A960                     syscall    GetControlValue/GetCtlValue
  892. 0000087A  301F                     move.w     D0, [A7]+
  893. 0000087C  261F                     move.l     D3, [A7]+
  894. 0000087E  4A40                     tst.w      D0
  895. 00000880  673A                     beq        +0x3C /* 000008BC */
  896. 00000882  206E FFF4                movea.l    A0, [A6 - 0xC]
  897. 00000886  2050                     movea.l    A0, [A0]
  898. 00000888  7000                     moveq.l    D0, 0x00
  899. 0000088A  1028 0011                move.b     D0, [A0 + 0x11]
  900. 0000088E  0C40 00FF                cmpi.w     D0, 0xFF
  901. 00000892  6728                     beq        +0x2A /* 000008BC */
  902. 00000894  206E FFF4                movea.l    A0, [A6 - 0xC]
  903. 00000898  2050                     movea.l    A0, [A0]
  904. 0000089A  7000                     moveq.l    D0, 0x00
  905. 0000089C  1028 0010                move.b     D0, [A0 + 0x10]
  906. 000008A0  4A80                     tst.l      D0
  907. 000008A2  6718                     beq        +0x1A /* 000008BC */
  908. 000008A4  2F03                     move.l     -[A7], D3
  909. 000008A6  558F                     subq.l     A7, 2
  910. 000008A8  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  911. 000008AC  486C 0010                pea.l      [A4 + 0x10]
  912. 000008B0  A8AD                     syscall    PtInRect
  913. 000008B2  101F                     move.b     D0, [A7]+
  914. 000008B4  261F                     move.l     D3, [A7]+
  915. 000008B6  4A00                     tst.b      D0
  916. 000008B8  6702                     beq        +0x4 /* 000008BC */
  917. 000008BA  7601                     moveq.l    D3, 0x01
  918. label000008BC:
  919. 000008BC  4883                     ext.w      D3
  920. 000008BE  3003                     move.w     D0, D3
  921. 000008C0  4CEE 1008 FFEA           movem.l    D3,A4, [A6 - 0x16]
  922. 000008C6  4E5E                     unlink     A6
  923. 000008C8  4E75                     rts
  924. export_19:
  925. fn000008CA:
  926. 000008CA  4E56 FFF2                link       A6, -0x000E
  927. 000008CE  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  928. 000008D2  3F2E 000E                move.w     -[A7], [A6 + 0xE]
  929. 000008D6  486E FFF2                pea.l      [A6 - 0xE]
  930. 000008DA  486E FFF4                pea.l      [A6 - 0xC]
  931. 000008DE  486E FFF8                pea.l      [A6 - 0x8]
  932. 000008E2  A98D                     syscall    GetDialogItem/GetDItem
  933. 000008E4  202E FFF4                move.l     D0, [A6 - 0xC]
  934. 000008E8  4E5E                     unlink     A6
  935. 000008EA  4E75                     rts
  936. export_20:
  937. fn000008EC:
  938. 000008EC  4E56 FFFA                link       A6, -0x0006
  939. 000008F0  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  940. 000008F4  3F2E 000E                move.w     -[A7], [A6 + 0xE]
  941. 000008F8  486E FFFA                pea.l      [A6 - 0x6]
  942. 000008FC  486E FFFC                pea.l      [A6 - 0x4]
  943. 00000900  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  944. 00000904  A98D                     syscall    GetDialogItem/GetDItem
  945. 00000906  4E5E                     unlink     A6
  946. 00000908  4E75                     rts
  947. fn0000090A:
  948. 0000090A  4E56 FFF2                link       A6, -0x000E
  949. 0000090E  2F03                     move.l     -[A7], D3
  950. 00000910  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  951. 00000914  3F2E 000E                move.w     -[A7], [A6 + 0xE]
  952. 00000918  486E FFF6                pea.l      [A6 - 0xA]
  953. 0000091C  486E FFF2                pea.l      [A6 - 0xE]
  954. 00000920  486E FFF8                pea.l      [A6 - 0x8]
  955. 00000924  A98D                     syscall    GetDialogItem/GetDItem
  956. 00000926  7600                     moveq.l    D3, 0x00
  957. 00000928  206E FFF2                movea.l    A0, [A6 - 0xE]
  958. 0000092C  2050                     movea.l    A0, [A0]
  959. 0000092E  7000                     moveq.l    D0, 0x00
  960. 00000930  1028 0011                move.b     D0, [A0 + 0x11]
  961. 00000934  0C40 00FF                cmpi.w     D0, 0xFF
  962. 00000938  671A                     beq        +0x1C /* 00000954 */
  963. 0000093A  206E FFF2                movea.l    A0, [A6 - 0xE]
  964. 0000093E  2050                     movea.l    A0, [A0]
  965. 00000940  7000                     moveq.l    D0, 0x00
  966. 00000942  1028 0010                move.b     D0, [A0 + 0x10]
  967. 00000946  4A80                     tst.l      D0
  968. 00000948  670A                     beq        +0xC /* 00000954 */
  969. 0000094A  0C6E 1F40 FFFA           cmpi.w     [A6 - 0x6], 0x1F40
  970. 00000950  6C02                     bge        +0x4 /* 00000954 */
  971. 00000952  7601                     moveq.l    D3, 0x01
  972. label00000954:
  973. 00000954  1003                     move.b     D0, D3
  974. 00000956  262E FFEE                move.l     D3, [A6 - 0x12]
  975. 0000095A  4E5E                     unlink     A6
  976. 0000095C  4E75                     rts
  977. export_21:
  978. 0000095E  4E56 0000                link       A6, 0
  979. 00000962  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  980. 00000966  4EBA 00F0                jsr        [PC + 0xF0 /* 00000A58 */]
  981. 0000096A  558F                     subq.l     A7, 2
  982. 0000096C  3F3C 07D5                move.w     -[A7], 0x7D5
  983. 00000970  7000                     moveq.l    D0, 0x00
  984. 00000972  2F00                     move.l     -[A7], D0
  985. 00000974  A987                     syscall    NoteAlert
  986. 00000976  4E5E                     unlink     A6
  987. 00000978  4E75                     rts
  988. export_22:
  989. fn0000097A:
  990. 0000097A  4E56 FFF2                link       A6, -0x000E
  991. 0000097E  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  992. 00000982  3F2E 000E                move.w     -[A7], [A6 + 0xE]
  993. 00000986  486E FFF2                pea.l      [A6 - 0xE]
  994. 0000098A  486E FFF4                pea.l      [A6 - 0xC]
  995. 0000098E  486E FFF8                pea.l      [A6 - 0x8]
  996. 00000992  A98D                     syscall    GetDialogItem/GetDItem
  997. 00000994  2F2E FFF4                move.l     -[A7], [A6 - 0xC]
  998. 00000998  3F2E 0012                move.w     -[A7], [A6 + 0x12]
  999. 0000099C  A963                     syscall    SetControlValue/SetCtlValue
  1000. 0000099E  4E5E                     unlink     A6
  1001. 000009A0  4E75                     rts
  1002. export_23:
  1003. fn000009A2:
  1004. 000009A2  4E56 0000                link       A6, 0
  1005. 000009A6  48E7 0F08                movem.l    -[A7], D4,D5,D6,D7,A4
  1006. 000009AA  382E 000E                move.w     D4, [A6 + 0xE]
  1007. 000009AE  3C2E 0016                move.w     D6, [A6 + 0x16]
  1008. 000009B2  286E 0008                movea.l    A4, [A6 + 0x8]
  1009. 000009B6  3E04                     move.w     D7, D4
  1010. 000009B8  6046                     bra        +0x48 /* 00000A00 */
  1011. label000009BA:
  1012. 000009BA  48C7                     ext.l      D7
  1013. 000009BC  2F07                     move.l     -[A7], D7
  1014. 000009BE  2F0C                     move.l     -[A7], A4
  1015. 000009C0  4EBA FE8C                jsr        [PC - 0x174 /* 0000084E */]
  1016. 000009C4  1A00                     move.b     D5, D0
  1017. 000009C6  504F                     addq.w     A7, 8
  1018. 000009C8  6718                     beq        +0x1A /* 000009E2 */
  1019. 000009CA  BC47                     cmp.w      D6, D7
  1020. 000009CC  6714                     beq        +0x16 /* 000009E2 */
  1021. 000009CE  7000                     moveq.l    D0, 0x00
  1022. 000009D0  2F00                     move.l     -[A7], D0
  1023. 000009D2  48C7                     ext.l      D7
  1024. 000009D4  2F07                     move.l     -[A7], D7
  1025. 000009D6  2F0C                     move.l     -[A7], A4
  1026. 000009D8  4EBA FFA0                jsr        [PC - 0x60 /* 0000097A */]
  1027. 000009DC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1028. 000009E0  601A                     bra        +0x1C /* 000009FC */
  1029. label000009E2:
  1030. 000009E2  4A05                     tst.b      D5
  1031. 000009E4  6616                     bne        +0x18 /* 000009FC */
  1032. 000009E6  BC47                     cmp.w      D6, D7
  1033. 000009E8  6612                     bne        +0x14 /* 000009FC */
  1034. 000009EA  7001                     moveq.l    D0, 0x01
  1035. 000009EC  2F00                     move.l     -[A7], D0
  1036. 000009EE  48C7                     ext.l      D7
  1037. 000009F0  2F07                     move.l     -[A7], D7
  1038. 000009F2  2F0C                     move.l     -[A7], A4
  1039. 000009F4  4EBA FF84                jsr        [PC - 0x7C /* 0000097A */]
  1040. 000009F8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1041. label000009FC:
  1042. 000009FC  3007                     move.w     D0, D7
  1043. 000009FE  5247                     addq.w     D7, 1
  1044. label00000A00:
  1045. 00000A00  BE6E 0012                cmp.w      D7, [A6 + 0x12]
  1046. 00000A04  6FB4                     ble        -0x4A /* 000009BA */
  1047. 00000A06  4CEE 10F0 FFEC           movem.l    D4,D5,D6,D7,A4, [A6 - 0x14]
  1048. 00000A0C  4E5E                     unlink     A6
  1049. 00000A0E  4E75                     rts
  1050. fn00000A10:
  1051. 00000A10  4E56 FFFC                link       A6, -0x0004
  1052. 00000A14  2F0C                     move.l     -[A7], A4
  1053. 00000A16  286E 0008                movea.l    A4, [A6 + 0x8]
  1054. 00000A1A  302C 0006                move.w     D0, [A4 + 0x6]
  1055. 00000A1E  906C 0002                sub.w      D0, [A4 + 0x2]
  1056. 00000A22  3D40 FFFE                move.w     [A6 - 0x2], D0
  1057. 00000A26  302C 0004                move.w     D0, [A4 + 0x4]
  1058. 00000A2A  9054                     sub.w      D0, [A4]
  1059. 00000A2C  3D40 FFFC                move.w     [A6 - 0x4], D0
  1060. 00000A30  202E FFFC                move.l     D0, [A6 - 0x4]
  1061. 00000A34  286E FFF8                movea.l    A4, [A6 - 0x8]
  1062. 00000A38  4E5E                     unlink     A6
  1063. 00000A3A  4E75                     rts
  1064. export_24:
  1065. fn00000A3C:
  1066. 00000A3C  4E56 0000                link       A6, 0
  1067. 00000A40  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1068. 00000A44  4EBA 0012                jsr        [PC + 0x12 /* 00000A58 */]
  1069. 00000A48  558F                     subq.l     A7, 2
  1070. 00000A4A  3F3C 07D5                move.w     -[A7], 0x7D5
  1071. 00000A4E  7000                     moveq.l    D0, 0x00
  1072. 00000A50  2F00                     move.l     -[A7], D0
  1073. 00000A52  A986                     syscall    StopAlert
  1074. 00000A54  4E5E                     unlink     A6
  1075. 00000A56  4E75                     rts
  1076. fn00000A58:
  1077. 00000A58  4E56 0000                link       A6, 0
  1078. 00000A5C  48E7 0018                movem.l    -[A7], A3,A4
  1079. 00000A60  4EAD 05AA                jsr        [A5 + 0x5AA /* export_177 */]
  1080. 00000A64  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1081. 00000A68  7000                     moveq.l    D0, 0x00
  1082. 00000A6A  2F00                     move.l     -[A7], D0
  1083. 00000A6C  2F00                     move.l     -[A7], D0
  1084. 00000A6E  2F00                     move.l     -[A7], D0
  1085. 00000A70  A98B                     syscall    ParamText
  1086. 00000A72  598F                     subq.l     A7, 4
  1087. 00000A74  2F3C 414C 5254           move.l     -[A7], 0x414C5254 /* 'ALRT' */
  1088. 00000A7A  3F3C 07D5                move.w     -[A7], 0x7D5
  1089. 00000A7E  A9A0                     syscall    GetResource
  1090. 00000A80  285F                     movea.l    A4, [A7]+
  1091. 00000A82  200C                     move.l     D0, A4
  1092. 00000A84  6614                     bne        +0x16 /* 00000A9A */
  1093. 00000A86  486D D6A4                pea.l      [A5 - 0x295C]
  1094. 00000A8A  558F                     subq.l     A7, 2
  1095. 00000A8C  A9AF                     syscall    ResError
  1096. 00000A8E  301F                     move.w     D0, [A7]+
  1097. 00000A90  48C0                     ext.l      D0
  1098. 00000A92  2F00                     move.l     -[A7], D0
  1099. 00000A94  4EBA 2510                jsr        [PC + 0x2510 /* 00002FA6 */]
  1100. 00000A98  504F                     addq.w     A7, 8
  1101. label00000A9A:
  1102. 00000A9A  204C                     movea.l    A0, A4
  1103. 00000A9C  A029                     syscall    HLock
  1104. 00000A9E  2654                     movea.l    A3, [A4]
  1105. 00000AA0  2F0B                     move.l     -[A7], A3
  1106. 00000AA2  4EBA FB7C                jsr        [PC - 0x484 /* 00000620 */]
  1107. 00000AA6  204C                     movea.l    A0, A4
  1108. 00000AA8  A02A                     syscall    HUnlock
  1109. 00000AAA  584F                     addq.w     A7, 4
  1110. 00000AAC  4CEE 1800 FFF8           movem.l    A3,A4, [A6 - 0x8]
  1111. 00000AB2  4E5E                     unlink     A6
  1112. 00000AB4  4E75                     rts
  1113. export_25:
  1114. fn00000AB6:
  1115. 00000AB6  4E56 0000                link       A6, 0
  1116. 00000ABA  48E7 0300                movem.l    -[A7], D6,D7
  1117. 00000ABE  3C2E 000A                move.w     D6, [A6 + 0xA]
  1118. 00000AC2  6E04                     bgt        +0x6 /* 00000AC8 */
  1119. 00000AC4  7000                     moveq.l    D0, 0x00
  1120. 00000AC6  6028                     bra        +0x2A /* 00000AF0 */
  1121. label00000AC8:
  1122. 00000AC8  0C46 0002                cmpi.w     D6, 0x2
  1123. 00000ACC  660A                     bne        +0xC /* 00000AD8 */
  1124. 00000ACE  558F                     subq.l     A7, 2
  1125. 00000AD0  A861                     syscall    Random
  1126. 00000AD2  7001                     moveq.l    D0, 0x01
  1127. 00000AD4  C05F                     and.w      D0, [A7]+
  1128. 00000AD6  6018                     bra        +0x1A /* 00000AF0 */
  1129. label00000AD8:
  1130. 00000AD8  558F                     subq.l     A7, 2
  1131. 00000ADA  A861                     syscall    Random
  1132. 00000ADC  3E1F                     move.w     D7, [A7]+
  1133. 00000ADE  6C08                     bge        +0xA /* 00000AE8 */
  1134. 00000AE0  48C7                     ext.l      D7
  1135. 00000AE2  2007                     move.l     D0, D7
  1136. 00000AE4  4480                     neg.l      D0
  1137. 00000AE6  3E00                     move.w     D7, D0
  1138. label00000AE8:
  1139. 00000AE8  3007                     move.w     D0, D7
  1140. 00000AEA  48C0                     ext.l      D0
  1141. 00000AEC  81C6                     divs.w     D0, D6
  1142. 00000AEE  4840                     swap.w     D0
  1143. label00000AF0:
  1144. 00000AF0  4CEE 00C0 FFF8           movem.l    D6,D7, [A6 - 0x8]
  1145. 00000AF6  4E5E                     unlink     A6
  1146. 00000AF8  4E75                     rts
  1147. export_26:
  1148. fn00000AFA:
  1149. 00000AFA  4E56 FFE6                link       A6, -0x001A
  1150. 00000AFE  48E7 0308                movem.l    -[A7], D6,D7,A4
  1151. 00000B02  3C2E 0012                move.w     D6, [A6 + 0x12]
  1152. 00000B06  3E2E 000E                move.w     D7, [A6 + 0xE]
  1153. 00000B0A  286E 0008                movea.l    A4, [A6 + 0x8]
  1154. 00000B0E  2F0C                     move.l     -[A7], A4
  1155. 00000B10  3F07                     move.w     -[A7], D7
  1156. 00000B12  486E FFE6                pea.l      [A6 - 0x1A]
  1157. 00000B16  486E FFE8                pea.l      [A6 - 0x18]
  1158. 00000B1A  486E FFEC                pea.l      [A6 - 0x14]
  1159. 00000B1E  A98D                     syscall    GetDialogItem/GetDItem
  1160. 00000B20  486E FFEC                pea.l      [A6 - 0x14]
  1161. 00000B24  70FC                     moveq.l    D0, 0xFFFFFFFC
  1162. 00000B26  3F00                     move.w     -[A7], D0
  1163. 00000B28  3F00                     move.w     -[A7], D0
  1164. 00000B2A  A8A9                     syscall    InsetRect
  1165. 00000B2C  2F0C                     move.l     -[A7], A4
  1166. 00000B2E  3F06                     move.w     -[A7], D6
  1167. 00000B30  486E FFE6                pea.l      [A6 - 0x1A]
  1168. 00000B34  486E FFE8                pea.l      [A6 - 0x18]
  1169. 00000B38  486E FFF4                pea.l      [A6 - 0xC]
  1170. 00000B3C  A98D                     syscall    GetDialogItem/GetDItem
  1171. 00000B3E  2F0C                     move.l     -[A7], A4
  1172. 00000B40  3F06                     move.w     -[A7], D6
  1173. 00000B42  3F3C 0080                move.w     -[A7], 0x80
  1174. 00000B46  486D 007A                pea.l      [A5 + 0x7A /* export_11 */]
  1175. 00000B4A  486E FFEC                pea.l      [A6 - 0x14]
  1176. 00000B4E  A98E                     syscall    SetDialogItem/SetDItem
  1177. 00000B50  3947 00A8                move.w     [A4 + 0xA8], D7
  1178. 00000B54  558F                     subq.l     A7, 2
  1179. 00000B56  486E FFEC                pea.l      [A6 - 0x14]
  1180. 00000B5A  486E FFF4                pea.l      [A6 - 0xC]
  1181. 00000B5E  A8A6                     syscall    EqualRect
  1182. 00000B60  4A1F                     tst.b      [A7]+
  1183. 00000B62  6634                     bne        +0x36 /* 00000B98 */
  1184. 00000B64  4A2C 006E                tst.b      [A4 + 0x6E]
  1185. 00000B68  672E                     beq        +0x30 /* 00000B98 */
  1186. 00000B6A  486E FFFC                pea.l      [A6 - 0x4]
  1187. 00000B6E  A874                     syscall    GetPort
  1188. 00000B70  2F0C                     move.l     -[A7], A4
  1189. 00000B72  A873                     syscall    SetPort
  1190. 00000B74  486E FFF4                pea.l      [A6 - 0xC]
  1191. 00000B78  A928                     syscall    InvalRect
  1192. 00000B7A  486E FFF4                pea.l      [A6 - 0xC]
  1193. 00000B7E  7004                     moveq.l    D0, 0x04
  1194. 00000B80  3F00                     move.w     -[A7], D0
  1195. 00000B82  3F00                     move.w     -[A7], D0
  1196. 00000B84  A8A9                     syscall    InsetRect
  1197. 00000B86  486E FFF4                pea.l      [A6 - 0xC]
  1198. 00000B8A  A92A                     syscall    ValidRect
  1199. 00000B8C  486E FFEC                pea.l      [A6 - 0x14]
  1200. 00000B90  A928                     syscall    InvalRect
  1201. 00000B92  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  1202. 00000B96  A873                     syscall    SetPort
  1203. label00000B98:
  1204. 00000B98  4CEE 10C0 FFDA           movem.l    D6,D7,A4, [A6 - 0x26]
  1205. 00000B9E  4E5E                     unlink     A6
  1206. 00000BA0  4E75                     rts
  1207. export_27:
  1208. fn00000BA2:
  1209. 00000BA2  4E56 FF00                link       A6, -0x0100
  1210. 00000BA6  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  1211. 00000BAA  266E 000C                movea.l    A3, [A6 + 0xC]
  1212. 00000BAE  49EE FF00                lea.l      A4, [A6 - 0x100]
  1213. 00000BB2  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1214. 00000BB6  2F0C                     move.l     -[A7], A4
  1215. 00000BB8  4EBA 53F4                jsr        [PC + 0x53F4 /* 00005FAE */]
  1216. 00000BBC  7000                     moveq.l    D0, 0x00
  1217. 00000BBE  1014                     move.b     D0, [A4]
  1218. 00000BC0  7200                     moveq.l    D1, 0x00
  1219. 00000BC2  1214                     move.b     D1, [A4]
  1220. 00000BC4  5341                     subq.w     D1, 1
  1221. 00000BC6  48C1                     ext.l      D1
  1222. 00000BC8  83FC 0003                divs.w     D1, 0x3
  1223. 00000BCC  48C1                     ext.l      D1
  1224. 00000BCE  D280                     add.l      D1, D0
  1225. 00000BD0  1681                     move.b     [A3], D1
  1226. 00000BD2  7C01                     moveq.l    D6, 0x01
  1227. 00000BD4  7E01                     moveq.l    D7, 0x01
  1228. 00000BD6  6030                     bra        +0x32 /* 00000C08 */
  1229. label00000BD8:
  1230. 00000BD8  17B4 7000 6000           move.b     [A3 + D6.w], [A4 + D7.w]
  1231. 00000BDE  7000                     moveq.l    D0, 0x00
  1232. 00000BE0  1014                     move.b     D0, [A4]
  1233. 00000BE2  48C7                     ext.l      D7
  1234. 00000BE4  9087                     sub.l      D0, D7
  1235. 00000BE6  7203                     moveq.l    D1, 0x03
  1236. 00000BE8  4EBA 49D8                jsr        [PC + 0x49D8 /* 000055C2 */]
  1237. 00000BEC  4A80                     tst.l      D0
  1238. 00000BEE  6610                     bne        +0x12 /* 00000C00 */
  1239. 00000BF0  7000                     moveq.l    D0, 0x00
  1240. 00000BF2  1014                     move.b     D0, [A4]
  1241. 00000BF4  BE40                     cmp.w      D7, D0
  1242. 00000BF6  6708                     beq        +0xA /* 00000C00 */
  1243. 00000BF8  5246                     addq.w     D6, 1
  1244. 00000BFA  17BC 002C 6000           move.b     [A3 + D6.w], 0x2C /* ',' */
  1245. label00000C00:
  1246. 00000C00  3006                     move.w     D0, D6
  1247. 00000C02  5246                     addq.w     D6, 1
  1248. 00000C04  3007                     move.w     D0, D7
  1249. 00000C06  5247                     addq.w     D7, 1
  1250. label00000C08:
  1251. 00000C08  7000                     moveq.l    D0, 0x00
  1252. 00000C0A  1013                     move.b     D0, [A3]
  1253. 00000C0C  B046                     cmp.w      D0, D6
  1254. 00000C0E  6CC8                     bge        -0x36 /* 00000BD8 */
  1255. 00000C10  4CEE 18C0 FEF0           movem.l    D6,D7,A3,A4, [A6 - 0x110]
  1256. 00000C16  4E5E                     unlink     A6
  1257. 00000C18  4E75                     rts
  1258. export_28:
  1259. fn00000C1A:
  1260. 00000C1A  4E56 0000                link       A6, 0
  1261. 00000C1E  2F0C                     move.l     -[A7], A4
  1262. 00000C20  4EAD 05AA                jsr        [A5 + 0x5AA /* export_177 */]
  1263. 00000C24  598F                     subq.l     A7, 4
  1264. 00000C26  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  1265. 00000C2A  7000                     moveq.l    D0, 0x00
  1266. 00000C2C  2F00                     move.l     -[A7], D0
  1267. 00000C2E  72FF                     moveq.l    D1, 0xFFFFFFFF
  1268. 00000C30  2F01                     move.l     -[A7], D1
  1269. 00000C32  A97C                     syscall    GetNewDialog
  1270. 00000C34  285F                     movea.l    A4, [A7]+
  1271. 00000C36  200C                     move.l     D0, A4
  1272. 00000C38  6614                     bne        +0x16 /* 00000C4E */
  1273. 00000C3A  486D D6AE                pea.l      [A5 - 0x2952]
  1274. 00000C3E  558F                     subq.l     A7, 2
  1275. 00000C40  A9AF                     syscall    ResError
  1276. 00000C42  301F                     move.w     D0, [A7]+
  1277. 00000C44  48C0                     ext.l      D0
  1278. 00000C46  2F00                     move.l     -[A7], D0
  1279. 00000C48  4EBA 235C                jsr        [PC + 0x235C /* 00002FA6 */]
  1280. 00000C4C  504F                     addq.w     A7, 8
  1281. label00000C4E:
  1282. 00000C4E  2F0C                     move.l     -[A7], A4
  1283. 00000C50  4EBA F930                jsr        [PC - 0x6D0 /* 00000582 */]
  1284. 00000C54  2F0C                     move.l     -[A7], A4
  1285. 00000C56  A915                     syscall    ShowWindow
  1286. 00000C58  200C                     move.l     D0, A4
  1287. 00000C5A  584F                     addq.w     A7, 4
  1288. 00000C5C  286E FFFC                movea.l    A4, [A6 - 0x4]
  1289. 00000C60  4E5E                     unlink     A6
  1290. 00000C62  4E75                     rts
  1291. export_29:
  1292. 00000C64  4E56 0000                link       A6, 0
  1293. 00000C68  2F0C                     move.l     -[A7], A4
  1294. 00000C6A  286E 0008                movea.l    A4, [A6 + 0x8]
  1295. 00000C6E  2F0C                     move.l     -[A7], A4
  1296. 00000C70  1F14                     move.b     -[A7], [A4]
  1297. 00000C72  7000                     moveq.l    D0, 0x00
  1298. 00000C74  1F00                     move.b     -[A7], D0
  1299. 00000C76  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  1300. 00000C7A  4EBA F7B4                jsr        [PC - 0x84C /* 00000430 */]
  1301. 00000C7E  286E FFFC                movea.l    A4, [A6 - 0x4]
  1302. 00000C82  4E5E                     unlink     A6
  1303. 00000C84  205F                     movea.l    A0, [A7]+
  1304. 00000C86  504F                     addq.w     A7, 8
  1305. 00000C88  4ED0                     jmp        [A0]
  1306. export_30:
  1307. 00000C8A  4E56 FF00                link       A6, -0x0100
  1308. 00000C8E  48E7 0718                movem.l    -[A7], D5,D6,D7,A3,A4
  1309. 00000C92  47EE FF00                lea.l      A3, [A6 - 0x100]
  1310. 00000C96  286E 0008                movea.l    A4, [A6 + 0x8]
  1311. 00000C9A  7000                     moveq.l    D0, 0x00
  1312. 00000C9C  1014                     move.b     D0, [A4]
  1313. 00000C9E  4A80                     tst.l      D0
  1314. 00000CA0  6700 008A                beq        +0x8C /* 00000D2C */
  1315. 00000CA4  7E01                     moveq.l    D7, 0x01
  1316. 00000CA6  6010                     bra        +0x12 /* 00000CB8 */
  1317. label00000CA8:
  1318. 00000CA8  7000                     moveq.l    D0, 0x00
  1319. 00000CAA  1034 7000                move.b     D0, [A4 + D7.w]
  1320. 00000CAE  0C40 0020                cmpi.w     D0, 0x20 /* ' ' */
  1321. 00000CB2  660C                     bne        +0xE /* 00000CC0 */
  1322. 00000CB4  3007                     move.w     D0, D7
  1323. 00000CB6  5247                     addq.w     D7, 1
  1324. label00000CB8:
  1325. 00000CB8  7000                     moveq.l    D0, 0x00
  1326. 00000CBA  1014                     move.b     D0, [A4]
  1327. 00000CBC  B047                     cmp.w      D0, D7
  1328. 00000CBE  6CE8                     bge        -0x16 /* 00000CA8 */
  1329. label00000CC0:
  1330. 00000CC0  7000                     moveq.l    D0, 0x00
  1331. 00000CC2  1014                     move.b     D0, [A4]
  1332. 00000CC4  B047                     cmp.w      D0, D7
  1333. 00000CC6  6C0C                     bge        +0xE /* 00000CD4 */
  1334. 00000CC8  486D D6C0                pea.l      [A5 - 0x2940]
  1335. 00000CCC  2F0C                     move.l     -[A7], A4
  1336. 00000CCE  4EBA F742                jsr        [PC - 0x8BE /* 00000412 */]
  1337. 00000CD2  6058                     bra        +0x5A /* 00000D2C */
  1338. label00000CD4:
  1339. 00000CD4  7C00                     moveq.l    D6, 0x00
  1340. 00000CD6  1C14                     move.b     D6, [A4]
  1341. 00000CD8  4A86                     tst.l      D6
  1342. 00000CDA  6010                     bra        +0x12 /* 00000CEC */
  1343. label00000CDC:
  1344. 00000CDC  7000                     moveq.l    D0, 0x00
  1345. 00000CDE  1034 6000                move.b     D0, [A4 + D6.w]
  1346. 00000CE2  0C40 0020                cmpi.w     D0, 0x20 /* ' ' */
  1347. 00000CE6  6608                     bne        +0xA /* 00000CF0 */
  1348. 00000CE8  3006                     move.w     D0, D6
  1349. 00000CEA  5346                     subq.w     D6, 1
  1350. label00000CEC:
  1351. 00000CEC  BE46                     cmp.w      D7, D6
  1352. 00000CEE  6DEC                     blt        -0x12 /* 00000CDC */
  1353. label00000CF0:
  1354. 00000CF0  BE46                     cmp.w      D7, D6
  1355. 00000CF2  660C                     bne        +0xE /* 00000D00 */
  1356. 00000CF4  18BC 0001                move.b     [A4], 0x1
  1357. 00000CF8  1974 7000 0001           move.b     [A4 + 0x1], [A4 + D7.w]
  1358. 00000CFE  602C                     bra        +0x2E /* 00000D2C */
  1359. label00000D00:
  1360. 00000D00  48C6                     ext.l      D6
  1361. 00000D02  48C7                     ext.l      D7
  1362. 00000D04  2006                     move.l     D0, D6
  1363. 00000D06  9087                     sub.l      D0, D7
  1364. 00000D08  3A00                     move.w     D5, D0
  1365. 00000D0A  5245                     addq.w     D5, 1
  1366. 00000D0C  7C01                     moveq.l    D6, 0x01
  1367. 00000D0E  600E                     bra        +0x10 /* 00000D1E */
  1368. label00000D10:
  1369. 00000D10  3007                     move.w     D0, D7
  1370. 00000D12  5247                     addq.w     D7, 1
  1371. 00000D14  17B4 0000 6000           move.b     [A3 + D6.w], [A4 + D0.w]
  1372. 00000D1A  3006                     move.w     D0, D6
  1373. 00000D1C  5246                     addq.w     D6, 1
  1374. label00000D1E:
  1375. 00000D1E  BA46                     cmp.w      D5, D6
  1376. 00000D20  6CEE                     bge        -0x10 /* 00000D10 */
  1377. 00000D22  1685                     move.b     [A3], D5
  1378. 00000D24  2F0B                     move.l     -[A7], A3
  1379. 00000D26  2F0C                     move.l     -[A7], A4
  1380. 00000D28  4EBA F6E8                jsr        [PC - 0x918 /* 00000412 */]
  1381. label00000D2C:
  1382. 00000D2C  4CEE 18E0 FEEC           movem.l    D5,D6,D7,A3,A4, [A6 - 0x114]
  1383. 00000D32  4E5E                     unlink     A6
  1384. 00000D34  2E9F                     move.l     [A7], [A7]+
  1385. 00000D36  4E75                     rts
  1386. export_31:
  1387. 00000D38  48E7 1F3E                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A5,A6
  1388. 00000D3C  2A68 FFFC                movea.l    A5, [A0 - 0x4]
  1389. 00000D40  2F08                     move.l     -[A7], A0
  1390. 00000D42  4EBA 08F6                jsr        [PC + 0x8F6 /* 0000163A */]
  1391. 00000D46  584F                     addq.w     A7, 4
  1392. 00000D48  4CDF 7CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A5,A6, [A7]+
  1393. 00000D4C  4E75                     rts
  1394. export_32:
  1395. fn00000D4E:
  1396. 00000D4E  4E56 0000                link       A6, 0
  1397. 00000D52  4A6D DC9E                tst.w      [A5 - 0x2362]
  1398. 00000D56  6634                     bne        +0x36 /* 00000D8C */
  1399. 00000D58  7001                     moveq.l    D0, 0x01
  1400. 00000D5A  B06D DADC                cmp.w      D0, [A5 - 0x2524]
  1401. 00000D5E  6708                     beq        +0xA /* 00000D68 */
  1402. 00000D60  7002                     moveq.l    D0, 0x02
  1403. 00000D62  B06D DADC                cmp.w      D0, [A5 - 0x2524]
  1404. 00000D66  661C                     bne        +0x1E /* 00000D84 */
  1405. label00000D68:
  1406. 00000D68  70FF                     moveq.l    D0, 0xFFFFFFFF
  1407. 00000D6A  B06D D892                cmp.w      D0, [A5 - 0x276E]
  1408. 00000D6E  6614                     bne        +0x16 /* 00000D84 */
  1409. 00000D70  7000                     moveq.l    D0, 0x00
  1410. 00000D72  2F00                     move.l     -[A7], D0
  1411. 00000D74  2F00                     move.l     -[A7], D0
  1412. 00000D76  7207                     moveq.l    D1, 0x07
  1413. 00000D78  2F01                     move.l     -[A7], D1
  1414. 00000D7A  4EBA 0F08                jsr        [PC + 0xF08 /* 00001C84 */]
  1415. 00000D7E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1416. 00000D82  6008                     bra        +0xA /* 00000D8C */
  1417. label00000D84:
  1418. 00000D84  4EBA 0796                jsr        [PC + 0x796 /* 0000151C */]
  1419. 00000D88  4EBA 04AE                jsr        [PC + 0x4AE /* 00001238 */]
  1420. label00000D8C:
  1421. 00000D8C  4E5E                     unlink     A6
  1422. 00000D8E  4E75                     rts
  1423. fn00000D90:
  1424. 00000D90  4E56 FFFC                link       A6, -0x0004
  1425. 00000D94  2F07                     move.l     -[A7], D7
  1426. 00000D96  4A2D D76A                tst.b      [A5 - 0x2896]
  1427. 00000D9A  6736                     beq        +0x38 /* 00000DD2 */
  1428. 00000D9C  202D D766                move.l     D0, [A5 - 0x289A]
  1429. 00000DA0  D0BC 0000 0384           add.l      D0, 0x384
  1430. 00000DA6  2D40 FFFC                move.l     [A6 - 0x4], D0
  1431. 00000DAA  598F                     subq.l     A7, 4
  1432. 00000DAC  A975                     syscall    TickCount
  1433. 00000DAE  202E FFFC                move.l     D0, [A6 - 0x4]
  1434. 00000DB2  B09F                     cmp.l      D0, [A7]+
  1435. 00000DB4  621C                     bhi        +0x1E /* 00000DD2 */
  1436. 00000DB6  7064                     moveq.l    D0, 0x64
  1437. 00000DB8  2F00                     move.l     -[A7], D0
  1438. 00000DBA  4EBA 2698                jsr        [PC + 0x2698 /* 00003454 */]
  1439. 00000DBE  3E00                     move.w     D7, D0
  1440. 00000DC0  0C47 0004                cmpi.w     D7, 0x4
  1441. 00000DC4  584F                     addq.w     A7, 4
  1442. 00000DC6  670A                     beq        +0xC /* 00000DD2 */
  1443. 00000DC8  0C47 0005                cmpi.w     D7, 0x5
  1444. 00000DCC  6704                     beq        +0x6 /* 00000DD2 */
  1445. 00000DCE  4EBA 05A6                jsr        [PC + 0x5A6 /* 00001376 */]
  1446. label00000DD2:
  1447. 00000DD2  2E2E FFF8                move.l     D7, [A6 - 0x8]
  1448. 00000DD6  4E5E                     unlink     A6
  1449. 00000DD8  4E75                     rts
  1450. fn00000DDA:
  1451. 00000DDA  4E56 0000                link       A6, 0
  1452. 00000DDE  48E7 0328                movem.l    -[A7], D6,D7,A2,A4
  1453. 00000DE2  286E 000C                movea.l    A4, [A6 + 0xC]
  1454. 00000DE6  3E2E 000A                move.w     D7, [A6 + 0xA]
  1455. 00000DEA  7001                     moveq.l    D0, 0x01
  1456. 00000DEC  B06D DADC                cmp.w      D0, [A5 - 0x2524]
  1457. 00000DF0  6708                     beq        +0xA /* 00000DFA */
  1458. 00000DF2  7002                     moveq.l    D0, 0x02
  1459. 00000DF4  B06D DADC                cmp.w      D0, [A5 - 0x2524]
  1460. 00000DF8  667E                     bne        +0x80 /* 00000E78 */
  1461. label00000DFA:
  1462. 00000DFA  206D D78A                movea.l    A0, [A5 - 0x2876]
  1463. 00000DFE  1087                     move.b     [A0], D7
  1464. 00000E00  7002                     moveq.l    D0, 0x02
  1465. 00000E02  2F00                     move.l     -[A7], D0
  1466. 00000E04  2F2D D78A                move.l     -[A7], [A5 - 0x2876]
  1467. 00000E08  7204                     moveq.l    D1, 0x04
  1468. 00000E0A  2F01                     move.l     -[A7], D1
  1469. 00000E0C  4EBA 0E76                jsr        [PC + 0xE76 /* 00001C84 */]
  1470. 00000E10  4A00                     tst.b      D0
  1471. 00000E12  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1472. 00000E16  6730                     beq        +0x32 /* 00000E48 */
  1473. 00000E18  206D D78A                movea.l    A0, [A5 - 0x2876]
  1474. 00000E1C  48C7                     ext.l      D7
  1475. 00000E1E  226D D894                movea.l    A1, [A5 - 0x276C]
  1476. 00000E22  2007                     move.l     D0, D7
  1477. 00000E24  2200                     move.l     D1, D0
  1478. 00000E26  C0FC 0146                mulu.w     D0, 0x146
  1479. 00000E2A  4841                     swap.w     D1
  1480. 00000E2C  C2FC 0146                mulu.w     D1, 0x146
  1481. 00000E30  4841                     swap.w     D1
  1482. 00000E32  4241                     clr.w      D1
  1483. 00000E34  D081                     add.l      D0, D1
  1484. 00000E36  45E9 025A                lea.l      A2, [A1 + 0x25A]
  1485. 00000E3A  43F2 0800                lea.l      A1, [A2 + D0]
  1486. 00000E3E  7050                     moveq.l    D0, 0x50
  1487. label00000E40:
  1488. 00000E40  22D8                     move.l     [A1]+, [A0]+
  1489. 00000E42  51C8 FFFC                dbf        D0, -0x6 /* 00000E40 */
  1490. 00000E46  32D8                     move.w     [A1]+, [A0]+
  1491. label00000E48:
  1492. 00000E48  48C7                     ext.l      D7
  1493. 00000E4A  206D D894                movea.l    A0, [A5 - 0x276C]
  1494. 00000E4E  2007                     move.l     D0, D7
  1495. 00000E50  2200                     move.l     D1, D0
  1496. 00000E52  C0FC 0146                mulu.w     D0, 0x146
  1497. 00000E56  4841                     swap.w     D1
  1498. 00000E58  C2FC 0146                mulu.w     D1, 0x146
  1499. 00000E5C  4841                     swap.w     D1
  1500. 00000E5E  4241                     clr.w      D1
  1501. 00000E60  D081                     add.l      D0, D1
  1502. 00000E62  43E8 025A                lea.l      A1, [A0 + 0x25A]
  1503. 00000E66  41F1 0800                lea.l      A0, [A1 + D0]
  1504. 00000E6A  224C                     movea.l    A1, A4
  1505. 00000E6C  7050                     moveq.l    D0, 0x50
  1506. label00000E6E:
  1507. 00000E6E  22D8                     move.l     [A1]+, [A0]+
  1508. 00000E70  51C8 FFFC                dbf        D0, -0x6 /* 00000E6E */
  1509. 00000E74  32D8                     move.w     [A1]+, [A0]+
  1510. 00000E76  604E                     bra        +0x50 /* 00000EC6 */
  1511. label00000E78:
  1512. 00000E78  4EBA 06D6                jsr        [PC + 0x6D6 /* 00001550 */]
  1513. 00000E7C  1C00                     move.b     D6, D0
  1514. 00000E7E  670C                     beq        +0xE /* 00000E8C */
  1515. 00000E80  4EBA 0592                jsr        [PC + 0x592 /* 00001414 */]
  1516. 00000E84  4EBA 0514                jsr        [PC + 0x514 /* 0000139A */]
  1517. 00000E88  4EBA 0622                jsr        [PC + 0x622 /* 000014AC */]
  1518. label00000E8C:
  1519. 00000E8C  48C7                     ext.l      D7
  1520. 00000E8E  206D D894                movea.l    A0, [A5 - 0x276C]
  1521. 00000E92  2007                     move.l     D0, D7
  1522. 00000E94  2200                     move.l     D1, D0
  1523. 00000E96  C0FC 0146                mulu.w     D0, 0x146
  1524. 00000E9A  4841                     swap.w     D1
  1525. 00000E9C  C2FC 0146                mulu.w     D1, 0x146
  1526. 00000EA0  4841                     swap.w     D1
  1527. 00000EA2  4241                     clr.w      D1
  1528. 00000EA4  D081                     add.l      D0, D1
  1529. 00000EA6  43E8 025A                lea.l      A1, [A0 + 0x25A]
  1530. 00000EAA  41F1 0800                lea.l      A0, [A1 + D0]
  1531. 00000EAE  224C                     movea.l    A1, A4
  1532. 00000EB0  7050                     moveq.l    D0, 0x50
  1533. label00000EB2:
  1534. 00000EB2  22D8                     move.l     [A1]+, [A0]+
  1535. 00000EB4  51C8 FFFC                dbf        D0, -0x6 /* 00000EB2 */
  1536. 00000EB8  32D8                     move.w     [A1]+, [A0]+
  1537. 00000EBA  4A06                     tst.b      D6
  1538. 00000EBC  6708                     beq        +0xA /* 00000EC6 */
  1539. 00000EBE  4EBA 065C                jsr        [PC + 0x65C /* 0000151C */]
  1540. 00000EC2  4EBA 0374                jsr        [PC + 0x374 /* 00001238 */]
  1541. label00000EC6:
  1542. 00000EC6  4CEE 14C0 FFF0           movem.l    D6,D7,A2,A4, [A6 - 0x10]
  1543. 00000ECC  4E5E                     unlink     A6
  1544. 00000ECE  4E75                     rts
  1545. export_33:
  1546. fn00000ED0:
  1547. 00000ED0  4E56 0000                link       A6, 0
  1548. 00000ED4  2F07                     move.l     -[A7], D7
  1549. 00000ED6  7001                     moveq.l    D0, 0x01
  1550. 00000ED8  B06D DADC                cmp.w      D0, [A5 - 0x2524]
  1551. 00000EDC  6708                     beq        +0xA /* 00000EE6 */
  1552. 00000EDE  7002                     moveq.l    D0, 0x02
  1553. 00000EE0  B06D DADC                cmp.w      D0, [A5 - 0x2524]
  1554. 00000EE4  6642                     bne        +0x44 /* 00000F28 */
  1555. label00000EE6:
  1556. 00000EE6  7000                     moveq.l    D0, 0x00
  1557. 00000EE8  2F00                     move.l     -[A7], D0
  1558. 00000EEA  2F00                     move.l     -[A7], D0
  1559. 00000EEC  7203                     moveq.l    D1, 0x03
  1560. 00000EEE  2F01                     move.l     -[A7], D1
  1561. 00000EF0  4EBA 0D92                jsr        [PC + 0xD92 /* 00001C84 */]
  1562. 00000EF4  4A00                     tst.b      D0
  1563. 00000EF6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1564. 00000EFA  6726                     beq        +0x28 /* 00000F22 */
  1565. 00000EFC  206D D894                movea.l    A0, [A5 - 0x276C]
  1566. 00000F00  3E28 0258                move.w     D7, [A0 + 0x258]
  1567. 00000F04  206D D78A                movea.l    A0, [A5 - 0x2876]
  1568. 00000F08  226D D894                movea.l    A1, [A5 - 0x276C]
  1569. 00000F0C  43E9 0026                lea.l      A1, [A1 + 0x26]
  1570. 00000F10  303C 008C                move.w     D0, 0x8C
  1571. label00000F14:
  1572. 00000F14  22D8                     move.l     [A1]+, [A0]+
  1573. 00000F16  51C8 FFFC                dbf        D0, -0x6 /* 00000F14 */
  1574. 00000F1A  206D D894                movea.l    A0, [A5 - 0x276C]
  1575. 00000F1E  3147 0258                move.w     [A0 + 0x258], D7
  1576. label00000F22:
  1577. 00000F22  4EBA 0EDC                jsr        [PC + 0xEDC /* 00001E00 */]
  1578. 00000F26  6024                     bra        +0x26 /* 00000F4C */
  1579. label00000F28:
  1580. 00000F28  4EBA 0626                jsr        [PC + 0x626 /* 00001550 */]
  1581. 00000F2C  1E00                     move.b     D7, D0
  1582. 00000F2E  670C                     beq        +0xE /* 00000F3C */
  1583. 00000F30  4EBA 04E2                jsr        [PC + 0x4E2 /* 00001414 */]
  1584. 00000F34  4EBA 0464                jsr        [PC + 0x464 /* 0000139A */]
  1585. 00000F38  4EBA 0572                jsr        [PC + 0x572 /* 000014AC */]
  1586. label00000F3C:
  1587. 00000F3C  4EBA 0EC2                jsr        [PC + 0xEC2 /* 00001E00 */]
  1588. 00000F40  4A07                     tst.b      D7
  1589. 00000F42  6708                     beq        +0xA /* 00000F4C */
  1590. 00000F44  4EBA 05D6                jsr        [PC + 0x5D6 /* 0000151C */]
  1591. 00000F48  4EBA 02EE                jsr        [PC + 0x2EE /* 00001238 */]
  1592. label00000F4C:
  1593. 00000F4C  2E2E FFFC                move.l     D7, [A6 - 0x4]
  1594. 00000F50  4E5E                     unlink     A6
  1595. 00000F52  4E75                     rts
  1596. export_34:
  1597. fn00000F54:
  1598. 00000F54  4E56 0000                link       A6, 0
  1599. 00000F58  2F07                     move.l     -[A7], D7
  1600. 00000F5A  7002                     moveq.l    D0, 0x02
  1601. 00000F5C  B06D DADC                cmp.w      D0, [A5 - 0x2524]
  1602. 00000F60  670A                     beq        +0xC /* 00000F6C */
  1603. 00000F62  7000                     moveq.l    D0, 0x00
  1604. 00000F64  2F00                     move.l     -[A7], D0
  1605. 00000F66  4EBA 0882                jsr        [PC + 0x882 /* 000017EA */]
  1606. 00000F6A  584F                     addq.w     A7, 4
  1607. label00000F6C:
  1608. 00000F6C  3B6D DADA DADC           move.w     [A5 - 0x2524], [A5 - 0x2526]
  1609. 00000F72  6706                     beq        +0x8 /* 00000F7A */
  1610. 00000F74  4EBA 09F6                jsr        [PC + 0x9F6 /* 0000196C */]
  1611. 00000F78  3E00                     move.w     D7, D0
  1612. label00000F7A:
  1613. 00000F7A  7002                     moveq.l    D0, 0x02
  1614. 00000F7C  B06D DADC                cmp.w      D0, [A5 - 0x2524]
  1615. 00000F80  6608                     bne        +0xA /* 00000F8A */
  1616. 00000F82  4A47                     tst.w      D7
  1617. 00000F84  6604                     bne        +0x6 /* 00000F8A */
  1618. 00000F86  4EBA 0B20                jsr        [PC + 0xB20 /* 00001AA8 */]
  1619. label00000F8A:
  1620. 00000F8A  4EBA 0EB8                jsr        [PC + 0xEB8 /* 00001E44 */]
  1621. 00000F8E  2E2E FFFC                move.l     D7, [A6 - 0x4]
  1622. 00000F92  4E5E                     unlink     A6
  1623. 00000F94  4E75                     rts
  1624. export_35:
  1625. fn00000F96:
  1626. 00000F96  4E56 0000                link       A6, 0
  1627. 00000F9A  4A6D DC9E                tst.w      [A5 - 0x2362]
  1628. 00000F9E  6640                     bne        +0x42 /* 00000FE0 */
  1629. 00000FA0  7001                     moveq.l    D0, 0x01
  1630. 00000FA2  B06D DADC                cmp.w      D0, [A5 - 0x2524]
  1631. 00000FA6  6708                     beq        +0xA /* 00000FB0 */
  1632. 00000FA8  7002                     moveq.l    D0, 0x02
  1633. 00000FAA  B06D DADC                cmp.w      D0, [A5 - 0x2524]
  1634. 00000FAE  6616                     bne        +0x18 /* 00000FC6 */
  1635. label00000FB0:
  1636. 00000FB0  7000                     moveq.l    D0, 0x00
  1637. 00000FB2  2F00                     move.l     -[A7], D0
  1638. 00000FB4  2F00                     move.l     -[A7], D0
  1639. 00000FB6  7202                     moveq.l    D1, 0x02
  1640. 00000FB8  2F01                     move.l     -[A7], D1
  1641. 00000FBA  4EBA 0CC8                jsr        [PC + 0xCC8 /* 00001C84 */]
  1642. 00000FBE  4A00                     tst.b      D0
  1643. 00000FC0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1644. 00000FC4  661A                     bne        +0x1C /* 00000FE0 */
  1645. label00000FC6:
  1646. 00000FC6  4A2D D76A                tst.b      [A5 - 0x2896]
  1647. 00000FCA  6704                     beq        +0x6 /* 00000FD0 */
  1648. 00000FCC  4EBA 03A8                jsr        [PC + 0x3A8 /* 00001376 */]
  1649. label00000FD0:
  1650. 00000FD0  4EBA 057E                jsr        [PC + 0x57E /* 00001550 */]
  1651. 00000FD4  4EBA 043E                jsr        [PC + 0x43E /* 00001414 */]
  1652. 00000FD8  4EBA 03C0                jsr        [PC + 0x3C0 /* 0000139A */]
  1653. 00000FDC  4EBA 04CE                jsr        [PC + 0x4CE /* 000014AC */]
  1654. label00000FE0:
  1655. 00000FE0  4E5E                     unlink     A6
  1656. 00000FE2  4E75                     rts
  1657. fn00000FE4:
  1658. 00000FE4  4E56 0000                link       A6, 0
  1659. 00000FE8  48E7 0120                movem.l    -[A7], D7,A2
  1660. 00000FEC  3E2E 000A                move.w     D7, [A6 + 0xA]
  1661. 00000FF0  70FF                     moveq.l    D0, 0xFFFFFFFF
  1662. 00000FF2  B06D D892                cmp.w      D0, [A5 - 0x276E]
  1663. 00000FF6  665E                     bne        +0x60 /* 00001056 */
  1664. 00000FF8  7001                     moveq.l    D0, 0x01
  1665. 00000FFA  B06D DADC                cmp.w      D0, [A5 - 0x2524]
  1666. 00000FFE  6708                     beq        +0xA /* 00001008 */
  1667. 00001000  7002                     moveq.l    D0, 0x02
  1668. 00001002  B06D DADC                cmp.w      D0, [A5 - 0x2524]
  1669. 00001006  664E                     bne        +0x50 /* 00001056 */
  1670. label00001008:
  1671. 00001008  206D D78A                movea.l    A0, [A5 - 0x2876]
  1672. 0000100C  1087                     move.b     [A0], D7
  1673. 0000100E  7002                     moveq.l    D0, 0x02
  1674. 00001010  2F00                     move.l     -[A7], D0
  1675. 00001012  2F2D D78A                move.l     -[A7], [A5 - 0x2876]
  1676. 00001016  7204                     moveq.l    D1, 0x04
  1677. 00001018  2F01                     move.l     -[A7], D1
  1678. 0000101A  4EBA 0C68                jsr        [PC + 0xC68 /* 00001C84 */]
  1679. 0000101E  4A00                     tst.b      D0
  1680. 00001020  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1681. 00001024  6730                     beq        +0x32 /* 00001056 */
  1682. 00001026  206D D78A                movea.l    A0, [A5 - 0x2876]
  1683. 0000102A  48C7                     ext.l      D7
  1684. 0000102C  226D D894                movea.l    A1, [A5 - 0x276C]
  1685. 00001030  2007                     move.l     D0, D7
  1686. 00001032  2200                     move.l     D1, D0
  1687. 00001034  C0FC 0146                mulu.w     D0, 0x146
  1688. 00001038  4841                     swap.w     D1
  1689. 0000103A  C2FC 0146                mulu.w     D1, 0x146
  1690. 0000103E  4841                     swap.w     D1
  1691. 00001040  4241                     clr.w      D1
  1692. 00001042  D081                     add.l      D0, D1
  1693. 00001044  45E9 025A                lea.l      A2, [A1 + 0x25A]
  1694. 00001048  43F2 0800                lea.l      A1, [A2 + D0]
  1695. 0000104C  7050                     moveq.l    D0, 0x50
  1696. label0000104E:
  1697. 0000104E  22D8                     move.l     [A1]+, [A0]+
  1698. 00001050  51C8 FFFC                dbf        D0, -0x6 /* 0000104E */
  1699. 00001054  32D8                     move.w     [A1]+, [A0]+
  1700. label00001056:
  1701. 00001056  48C7                     ext.l      D7
  1702. 00001058  206D D894                movea.l    A0, [A5 - 0x276C]
  1703. 0000105C  2007                     move.l     D0, D7
  1704. 0000105E  2200                     move.l     D1, D0
  1705. 00001060  C0FC 0146                mulu.w     D0, 0x146
  1706. 00001064  4841                     swap.w     D1
  1707. 00001066  C2FC 0146                mulu.w     D1, 0x146
  1708. 0000106A  4841                     swap.w     D1
  1709. 0000106C  4241                     clr.w      D1
  1710. 0000106E  D081                     add.l      D0, D1
  1711. 00001070  226E 000C                movea.l    A1, [A6 + 0xC]
  1712. 00001074  45E8 025A                lea.l      A2, [A0 + 0x25A]
  1713. 00001078  41F2 0800                lea.l      A0, [A2 + D0]
  1714. 0000107C  7050                     moveq.l    D0, 0x50
  1715. label0000107E:
  1716. 0000107E  22D8                     move.l     [A1]+, [A0]+
  1717. 00001080  51C8 FFFC                dbf        D0, -0x6 /* 0000107E */
  1718. 00001084  32D8                     move.w     [A1]+, [A0]+
  1719. 00001086  4CEE 0480 FFF8           movem.l    D7,A2, [A6 - 0x8]
  1720. 0000108C  4E5E                     unlink     A6
  1721. 0000108E  4E75                     rts
  1722. export_36:
  1723. fn00001090:
  1724. 00001090  4E56 0000                link       A6, 0
  1725. 00001094  2F07                     move.l     -[A7], D7
  1726. 00001096  4A6D DC9E                tst.w      [A5 - 0x2362]
  1727. 0000109A  6658                     bne        +0x5A /* 000010F4 */
  1728. 0000109C  70FF                     moveq.l    D0, 0xFFFFFFFF
  1729. 0000109E  B06D D892                cmp.w      D0, [A5 - 0x276E]
  1730. 000010A2  664C                     bne        +0x4E /* 000010F0 */
  1731. 000010A4  7001                     moveq.l    D0, 0x01
  1732. 000010A6  B06D DADC                cmp.w      D0, [A5 - 0x2524]
  1733. 000010AA  6708                     beq        +0xA /* 000010B4 */
  1734. 000010AC  7002                     moveq.l    D0, 0x02
  1735. 000010AE  B06D DADC                cmp.w      D0, [A5 - 0x2524]
  1736. 000010B2  663C                     bne        +0x3E /* 000010F0 */
  1737. label000010B4:
  1738. 000010B4  7000                     moveq.l    D0, 0x00
  1739. 000010B6  2F00                     move.l     -[A7], D0
  1740. 000010B8  2F00                     move.l     -[A7], D0
  1741. 000010BA  7203                     moveq.l    D1, 0x03
  1742. 000010BC  2F01                     move.l     -[A7], D1
  1743. 000010BE  4EBA 0BC4                jsr        [PC + 0xBC4 /* 00001C84 */]
  1744. 000010C2  4A00                     tst.b      D0
  1745. 000010C4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1746. 000010C8  6726                     beq        +0x28 /* 000010F0 */
  1747. 000010CA  206D D894                movea.l    A0, [A5 - 0x276C]
  1748. 000010CE  3E28 0258                move.w     D7, [A0 + 0x258]
  1749. 000010D2  206D D78A                movea.l    A0, [A5 - 0x2876]
  1750. 000010D6  226D D894                movea.l    A1, [A5 - 0x276C]
  1751. 000010DA  43E9 0026                lea.l      A1, [A1 + 0x26]
  1752. 000010DE  303C 008C                move.w     D0, 0x8C
  1753. label000010E2:
  1754. 000010E2  22D8                     move.l     [A1]+, [A0]+
  1755. 000010E4  51C8 FFFC                dbf        D0, -0x6 /* 000010E2 */
  1756. 000010E8  206D D894                movea.l    A0, [A5 - 0x276C]
  1757. 000010EC  3147 0258                move.w     [A0 + 0x258], D7
  1758. label000010F0:
  1759. 000010F0  4EBA 0D0E                jsr        [PC + 0xD0E /* 00001E00 */]
  1760. label000010F4:
  1761. 000010F4  2E2E FFFC                move.l     D7, [A6 - 0x4]
  1762. 000010F8  4E5E                     unlink     A6
  1763. 000010FA  4E75                     rts
  1764. fn000010FC:
  1765. 000010FC  4E56 0000                link       A6, 0
  1766. 00001100  7002                     moveq.l    D0, 0x02
  1767. 00001102  B06D DADC                cmp.w      D0, [A5 - 0x2524]
  1768. 00001106  6612                     bne        +0x14 /* 0000111A */
  1769. 00001108  4EBA 0900                jsr        [PC + 0x900 /* 00001A0A */]
  1770. 0000110C  7000                     moveq.l    D0, 0x00
  1771. 0000110E  2F00                     move.l     -[A7], D0
  1772. 00001110  4EBA 06D8                jsr        [PC + 0x6D8 /* 000017EA */]
  1773. 00001114  4EBA 0260                jsr        [PC + 0x260 /* 00001376 */]
  1774. 00001118  584F                     addq.w     A7, 4
  1775. label0000111A:
  1776. 0000111A  4AAD D894                tst.l      [A5 - 0x276C]
  1777. 0000111E  6706                     beq        +0x8 /* 00001126 */
  1778. 00001120  206D D894                movea.l    A0, [A5 - 0x276C]
  1779. 00001124  A01F                     syscall    DisposPtr/DisposePtr
  1780. label00001126:
  1781. 00001126  4AAD D782                tst.l      [A5 - 0x287E]
  1782. 0000112A  6706                     beq        +0x8 /* 00001132 */
  1783. 0000112C  206D D782                movea.l    A0, [A5 - 0x287E]
  1784. 00001130  A01F                     syscall    DisposPtr/DisposePtr
  1785. label00001132:
  1786. 00001132  4AAD D78A                tst.l      [A5 - 0x2876]
  1787. 00001136  6706                     beq        +0x8 /* 0000113E */
  1788. 00001138  206D D78A                movea.l    A0, [A5 - 0x2876]
  1789. 0000113C  A01F                     syscall    DisposPtr/DisposePtr
  1790. label0000113E:
  1791. 0000113E  4A2D D88C                tst.b      [A5 - 0x2774]
  1792. 00001142  6616                     bne        +0x18 /* 0000115A */
  1793. 00001144  1B6D D88C D7E2           move.b     [A5 - 0x281E], [A5 - 0x2774]
  1794. 0000114A  558F                     subq.l     A7, 2
  1795. 0000114C  486D D7C6                pea.l      [A5 - 0x283A]
  1796. 00001150  7000                     moveq.l    D0, 0x00
  1797. 00001152  1F00                     move.b     -[A7], D0
  1798. 00001154  4EBA 4F5C                jsr        [PC + 0x4F5C /* 000060B2 */]
  1799. 00001158  544F                     addq.w     A7, 2
  1800. label0000115A:
  1801. 0000115A  4E5E                     unlink     A6
  1802. 0000115C  4E75                     rts
  1803. fn0000115E:
  1804. 0000115E  4E56 0000                link       A6, 0
  1805. 00001162  48E7 0108                movem.l    -[A7], D7,A4
  1806. 00001166  286E 000C                movea.l    A4, [A6 + 0xC]
  1807. 0000116A  3E2E 000A                move.w     D7, [A6 + 0xA]
  1808. 0000116E  48C7                     ext.l      D7
  1809. 00001170  206D D894                movea.l    A0, [A5 - 0x276C]
  1810. 00001174  2007                     move.l     D0, D7
  1811. 00001176  2200                     move.l     D1, D0
  1812. 00001178  C0FC 0146                mulu.w     D0, 0x146
  1813. 0000117C  4841                     swap.w     D1
  1814. 0000117E  C2FC 0146                mulu.w     D1, 0x146
  1815. 00001182  4841                     swap.w     D1
  1816. 00001184  4241                     clr.w      D1
  1817. 00001186  D081                     add.l      D0, D1
  1818. 00001188  43E8 025A                lea.l      A1, [A0 + 0x25A]
  1819. 0000118C  41F1 0800                lea.l      A0, [A1 + D0]
  1820. 00001190  224C                     movea.l    A1, A4
  1821. 00001192  7050                     moveq.l    D0, 0x50
  1822. label00001194:
  1823. 00001194  20D9                     move.l     [A0]+, [A1]+
  1824. 00001196  51C8 FFFC                dbf        D0, -0x6 /* 00001194 */
  1825. 0000119A  30D9                     move.w     [A0]+, [A1]+
  1826. 0000119C  70FF                     moveq.l    D0, 0xFFFFFFFF
  1827. 0000119E  B06D D892                cmp.w      D0, [A5 - 0x276E]
  1828. 000011A2  663E                     bne        +0x40 /* 000011E2 */
  1829. 000011A4  7001                     moveq.l    D0, 0x01
  1830. 000011A6  B06D DADC                cmp.w      D0, [A5 - 0x2524]
  1831. 000011AA  6708                     beq        +0xA /* 000011B4 */
  1832. 000011AC  7002                     moveq.l    D0, 0x02
  1833. 000011AE  B06D DADC                cmp.w      D0, [A5 - 0x2524]
  1834. 000011B2  662E                     bne        +0x30 /* 000011E2 */
  1835. label000011B4:
  1836. 000011B4  206D D78A                movea.l    A0, [A5 - 0x2876]
  1837. 000011B8  1087                     move.b     [A0], D7
  1838. 000011BA  206D D78A                movea.l    A0, [A5 - 0x2876]
  1839. 000011BE  5488                     addq.l     A0, 2
  1840. 000011C0  224C                     movea.l    A1, A4
  1841. 000011C2  7050                     moveq.l    D0, 0x50
  1842. label000011C4:
  1843. 000011C4  20D9                     move.l     [A0]+, [A1]+
  1844. 000011C6  51C8 FFFC                dbf        D0, -0x6 /* 000011C4 */
  1845. 000011CA  30D9                     move.w     [A0]+, [A1]+
  1846. 000011CC  4878 0148                push.l     0x148
  1847. 000011D0  2F2D D78A                move.l     -[A7], [A5 - 0x2876]
  1848. 000011D4  7006                     moveq.l    D0, 0x06
  1849. 000011D6  2F00                     move.l     -[A7], D0
  1850. 000011D8  4EBA 0AAA                jsr        [PC + 0xAAA /* 00001C84 */]
  1851. 000011DC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1852. 000011E0  6004                     bra        +0x6 /* 000011E6 */
  1853. label000011E2:
  1854. 000011E2  4EBA 0404                jsr        [PC + 0x404 /* 000015E8 */]
  1855. label000011E6:
  1856. 000011E6  4CEE 1080 FFF8           movem.l    D7,A4, [A6 - 0x8]
  1857. 000011EC  4E5E                     unlink     A6
  1858. 000011EE  4E75                     rts
  1859. export_37:
  1860. fn000011F0:
  1861. 000011F0  4E56 0000                link       A6, 0
  1862. 000011F4  4EBA 0BC2                jsr        [PC + 0xBC2 /* 00001DB8 */]
  1863. 000011F8  4A6D DC9E                tst.w      [A5 - 0x2362]
  1864. 000011FC  6636                     bne        +0x38 /* 00001234 */
  1865. 000011FE  70FF                     moveq.l    D0, 0xFFFFFFFF
  1866. 00001200  B06D D892                cmp.w      D0, [A5 - 0x276E]
  1867. 00001204  662A                     bne        +0x2C /* 00001230 */
  1868. 00001206  7001                     moveq.l    D0, 0x01
  1869. 00001208  B06D DADC                cmp.w      D0, [A5 - 0x2524]
  1870. 0000120C  6708                     beq        +0xA /* 00001216 */
  1871. 0000120E  7002                     moveq.l    D0, 0x02
  1872. 00001210  B06D DADC                cmp.w      D0, [A5 - 0x2524]
  1873. 00001214  661A                     bne        +0x1C /* 00001230 */
  1874. label00001216:
  1875. 00001216  4878 0234                push.l     0x234
  1876. 0000121A  206D D894                movea.l    A0, [A5 - 0x276C]
  1877. 0000121E  4868 0026                pea.l      [A0 + 0x26]
  1878. 00001222  7005                     moveq.l    D0, 0x05
  1879. 00001224  2F00                     move.l     -[A7], D0
  1880. 00001226  4EBA 0A5C                jsr        [PC + 0xA5C /* 00001C84 */]
  1881. 0000122A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1882. 0000122E  6004                     bra        +0x6 /* 00001234 */
  1883. label00001230:
  1884. 00001230  4EBA 03B6                jsr        [PC + 0x3B6 /* 000015E8 */]
  1885. label00001234:
  1886. 00001234  4E5E                     unlink     A6
  1887. 00001236  4E75                     rts
  1888. fn00001238:
  1889. 00001238  4E56 0000                link       A6, 0
  1890. 0000123C  70FF                     moveq.l    D0, 0xFFFFFFFF
  1891. 0000123E  B06D D892                cmp.w      D0, [A5 - 0x276E]
  1892. 00001242  660E                     bne        +0x10 /* 00001252 */
  1893. 00001244  486D D6DA                pea.l      [A5 - 0x2926]
  1894. 00001248  70CD                     moveq.l    D0, 0xFFFFFFCD
  1895. 0000124A  2F00                     move.l     -[A7], D0
  1896. 0000124C  4EBA 1D58                jsr        [PC + 0x1D58 /* 00002FA6 */]
  1897. 00001250  504F                     addq.w     A7, 8
  1898. label00001252:
  1899. 00001252  558F                     subq.l     A7, 2
  1900. 00001254  3F2D D892                move.w     -[A7], [A5 - 0x276E]
  1901. 00001258  4EBA 44CA                jsr        [PC + 0x44CA /* 00005724 */]
  1902. 0000125C  558F                     subq.l     A7, 2
  1903. 0000125E  7000                     moveq.l    D0, 0x00
  1904. 00001260  2F00                     move.l     -[A7], D0
  1905. 00001262  3F2D D71E                move.w     -[A7], [A5 - 0x28E2]
  1906. 00001266  4EBA 452E                jsr        [PC + 0x452E /* 00005796 */]
  1907. 0000126A  3B7C FFFF D892           move.w     [A5 - 0x276E], 0xFFFF
  1908. 00001270  584F                     addq.w     A7, 4
  1909. 00001272  4E5E                     unlink     A6
  1910. 00001274  4E75                     rts
  1911. fn00001276:
  1912. 00001276  4E56 FFB0                link       A6, -0x0050
  1913. 0000127A  48E7 1118                movem.l    -[A7], D3,D7,A3,A4
  1914. 0000127E  598F                     subq.l     A7, 4
  1915. 00001280  2F3C 434F 4E46           move.l     -[A7], 0x434F4E46 /* 'CONF' */
  1916. 00001286  3F3C 03E8                move.w     -[A7], 0x3E8
  1917. 0000128A  A9A0                     syscall    GetResource
  1918. 0000128C  285F                     movea.l    A4, [A7]+
  1919. 0000128E  200C                     move.l     D0, A4
  1920. 00001290  6614                     bne        +0x16 /* 000012A6 */
  1921. 00001292  486D D6EA                pea.l      [A5 - 0x2916]
  1922. 00001296  558F                     subq.l     A7, 2
  1923. 00001298  A9AF                     syscall    ResError
  1924. 0000129A  301F                     move.w     D0, [A7]+
  1925. 0000129C  48C0                     ext.l      D0
  1926. 0000129E  2F00                     move.l     -[A7], D0
  1927. 000012A0  4EBA 1D04                jsr        [PC + 0x1D04 /* 00002FA6 */]
  1928. 000012A4  504F                     addq.w     A7, 8
  1929. label000012A6:
  1930. 000012A6  2654                     movea.l    A3, [A4]
  1931. 000012A8  286D D894                movea.l    A4, [A5 - 0x276C]
  1932. 000012AC  4247                     clr.w      D7
  1933. 000012AE  363C 0B44                move.w     D3, 0xB44
  1934. label000012B2:
  1935. 000012B2  18DB                     move.b     [A4]+, [A3]+
  1936. 000012B4  3007                     move.w     D0, D7
  1937. 000012B6  5247                     addq.w     D7, 1
  1938. 000012B8  B647                     cmp.w      D3, D7
  1939. 000012BA  6EF6                     bgt        -0x8 /* 000012B2 */
  1940. 000012BC  4A6D DC9E                tst.w      [A5 - 0x2362]
  1941. 000012C0  670A                     beq        +0xC /* 000012CC */
  1942. 000012C2  1B7C 0001 D764           move.b     [A5 - 0x289C], 0x1
  1943. 000012C8  6000 00A2                bra        +0xA4 /* 0000136C */
  1944. label000012CC:
  1945. 000012CC  558F                     subq.l     A7, 2
  1946. 000012CE  3F2D D71E                move.w     -[A7], [A5 - 0x28E2]
  1947. 000012D2  2F2D D720                move.l     -[A7], [A5 - 0x28E0]
  1948. 000012D6  486D D724                pea.l      [A5 - 0x28DC]
  1949. 000012DA  4EBA 47B2                jsr        [PC + 0x47B2 /* 00005A8E */]
  1950. 000012DE  558F                     subq.l     A7, 2
  1951. 000012E0  3F2D D71E                move.w     -[A7], [A5 - 0x28E2]
  1952. 000012E4  2F2D D720                move.l     -[A7], [A5 - 0x28E0]
  1953. 000012E8  486D D724                pea.l      [A5 - 0x28DC]
  1954. 000012EC  2F3C 534D 554E           move.l     -[A7], 0x534D554E /* 'SMUN' */
  1955. 000012F2  2F3C 534D 4346           move.l     -[A7], 0x534D4346 /* 'SMCF' */
  1956. 000012F8  4EBA 470E                jsr        [PC + 0x470E /* 00005A08 */]
  1957. 000012FC  3E1F                     move.w     D7, [A7]+
  1958. 000012FE  544F                     addq.w     A7, 2
  1959. 00001300  6628                     bne        +0x2A /* 0000132A */
  1960. 00001302  4EBA 0110                jsr        [PC + 0x110 /* 00001414 */]
  1961. 00001306  7000                     moveq.l    D0, 0x00
  1962. 00001308  2D40 FFBC                move.l     [A6 - 0x44], D0
  1963. 0000130C  3D6D D892 FFC8           move.w     [A6 - 0x38], [A5 - 0x276E]
  1964. 00001312  2D7C 0000 0B44 FFCC      move.l     [A6 - 0x34], 0xB44
  1965. 0000131A  558F                     subq.l     A7, 2
  1966. 0000131C  486E FFB0                pea.l      [A6 - 0x50]
  1967. 00001320  7000                     moveq.l    D0, 0x00
  1968. 00001322  1F00                     move.b     -[A7], D0
  1969. 00001324  4EBA 43EC                jsr        [PC + 0x43EC /* 00005712 */]
  1970. 00001328  3E1F                     move.w     D7, [A7]+
  1971. label0000132A:
  1972. 0000132A  4A47                     tst.w      D7
  1973. 0000132C  660C                     bne        +0xE /* 0000133A */
  1974. 0000132E  4EBA 006A                jsr        [PC + 0x6A /* 0000139A */]
  1975. 00001332  4EBA 02B4                jsr        [PC + 0x2B4 /* 000015E8 */]
  1976. 00001336  4EBA 01E4                jsr        [PC + 0x1E4 /* 0000151C */]
  1977. label0000133A:
  1978. 0000133A  70FF                     moveq.l    D0, 0xFFFFFFFF
  1979. 0000133C  B06D D892                cmp.w      D0, [A5 - 0x276E]
  1980. 00001340  6704                     beq        +0x6 /* 00001346 */
  1981. 00001342  4EBA FEF4                jsr        [PC - 0x10C /* 00001238 */]
  1982. label00001346:
  1983. 00001346  4A47                     tst.w      D7
  1984. 00001348  6722                     beq        +0x24 /* 0000136C */
  1985. 0000134A  558F                     subq.l     A7, 2
  1986. 0000134C  3F2D D71E                move.w     -[A7], [A5 - 0x28E2]
  1987. 00001350  2F2D D720                move.l     -[A7], [A5 - 0x28E0]
  1988. 00001354  486D D724                pea.l      [A5 - 0x28DC]
  1989. 00001358  4EBA 4734                jsr        [PC + 0x4734 /* 00005A8E */]
  1990. 0000135C  7001                     moveq.l    D0, 0x01
  1991. 0000135E  2F00                     move.l     -[A7], D0
  1992. 00001360  48C7                     ext.l      D7
  1993. 00001362  2F07                     move.l     -[A7], D7
  1994. 00001364  4EBA 1CCC                jsr        [PC + 0x1CCC /* 00003032 */]
  1995. 00001368  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1996. label0000136C:
  1997. 0000136C  4CEE 1888 FFA0           movem.l    D3,D7,A3,A4, [A6 - 0x60]
  1998. 00001372  4E5E                     unlink     A6
  1999. 00001374  4E75                     rts
  2000. fn00001376:
  2001. 00001376  4E56 0000                link       A6, 0
  2002. 0000137A  422D D76A                clr.b      [A5 - 0x2896]
  2003. 0000137E  4EBA 01D0                jsr        [PC + 0x1D0 /* 00001550 */]
  2004. 00001382  4EBA 0090                jsr        [PC + 0x90 /* 00001414 */]
  2005. 00001386  4EBA 0012                jsr        [PC + 0x12 /* 0000139A */]
  2006. 0000138A  4EBA 025C                jsr        [PC + 0x25C /* 000015E8 */]
  2007. 0000138E  4EBA 018C                jsr        [PC + 0x18C /* 0000151C */]
  2008. 00001392  4EBA FEA4                jsr        [PC - 0x15C /* 00001238 */]
  2009. 00001396  4E5E                     unlink     A6
  2010. 00001398  4E75                     rts
  2011. fn0000139A:
  2012. 0000139A  4E56 FFAC                link       A6, -0x0054
  2013. 0000139E  48E7 0300                movem.l    -[A7], D6,D7
  2014. 000013A2  7000                     moveq.l    D0, 0x00
  2015. 000013A4  2D40 FFBC                move.l     [A6 - 0x44], D0
  2016. 000013A8  3D6D D892 FFC8           move.w     [A6 - 0x38], [A5 - 0x276E]
  2017. 000013AE  2D7C 0000 0B44 FFD4      move.l     [A6 - 0x2C], 0xB44
  2018. 000013B6  3D7C 0001 FFDC           move.w     [A6 - 0x24], 0x1
  2019. 000013BC  2D40 FFDE                move.l     [A6 - 0x22], D0
  2020. 000013C0  7E14                     moveq.l    D7, 0x14
  2021. 000013C2  6042                     bra        +0x44 /* 00001406 */
  2022. label000013C4:
  2023. 000013C4  558F                     subq.l     A7, 2
  2024. 000013C6  486E FFB0                pea.l      [A6 - 0x50]
  2025. 000013CA  7000                     moveq.l    D0, 0x00
  2026. 000013CC  1F00                     move.b     -[A7], D0
  2027. 000013CE  4EBA 4448                jsr        [PC + 0x4448 /* 00005818 */]
  2028. 000013D2  3C1F                     move.w     D6, [A7]+
  2029. 000013D4  6604                     bne        +0x6 /* 000013DA */
  2030. 000013D6  4247                     clr.w      D7
  2031. 000013D8  602C                     bra        +0x2E /* 00001406 */
  2032. label000013DA:
  2033. 000013DA  5347                     subq.w     D7, 1
  2034. 000013DC  6C0E                     bge        +0x10 /* 000013EC */
  2035. 000013DE  7001                     moveq.l    D0, 0x01
  2036. 000013E0  2F00                     move.l     -[A7], D0
  2037. 000013E2  48C6                     ext.l      D6
  2038. 000013E4  2F06                     move.l     -[A7], D6
  2039. 000013E6  4EBA 1C4A                jsr        [PC + 0x1C4A /* 00003032 */]
  2040. 000013EA  504F                     addq.w     A7, 8
  2041. label000013EC:
  2042. 000013EC  703C                     moveq.l    D0, 0x3C
  2043. 000013EE  2F00                     move.l     -[A7], D0
  2044. 000013F0  4EBA F6C4                jsr        [PC - 0x93C /* 00000AB6 */]
  2045. 000013F4  48C0                     ext.l      D0
  2046. 000013F6  721E                     moveq.l    D1, 0x1E
  2047. 000013F8  D081                     add.l      D0, D1
  2048. 000013FA  2040                     movea.l    A0, D0
  2049. 000013FC  43EE FFAC                lea.l      A1, [A6 - 0x54]
  2050. 00001400  A03B                     syscall    Delay
  2051. 00001402  2280                     move.l     [A1], D0
  2052. 00001404  584F                     addq.w     A7, 4
  2053. label00001406:
  2054. 00001406  4A47                     tst.w      D7
  2055. 00001408  6EBA                     bgt        -0x44 /* 000013C4 */
  2056. 0000140A  4CEE 00C0 FFA4           movem.l    D6,D7, [A6 - 0x5C]
  2057. 00001410  4E5E                     unlink     A6
  2058. 00001412  4E75                     rts
  2059. fn00001414:
  2060. 00001414  4E56 FFFC                link       A6, -0x0004
  2061. 00001418  48E7 0300                movem.l    -[A7], D6,D7
  2062. 0000141C  7C14                     moveq.l    D6, 0x14
  2063. 0000141E  606C                     bra        +0x6E /* 0000148C */
  2064. label00001420:
  2065. 00001420  558F                     subq.l     A7, 2
  2066. 00001422  3F2D D71E                move.w     -[A7], [A5 - 0x28E2]
  2067. 00001426  2F2D D720                move.l     -[A7], [A5 - 0x28E0]
  2068. 0000142A  486D D724                pea.l      [A5 - 0x28DC]
  2069. 0000142E  7004                     moveq.l    D0, 0x04
  2070. 00001430  1F00                     move.b     -[A7], D0
  2071. 00001432  486D D892                pea.l      [A5 - 0x276E]
  2072. 00001436  4EBA 4576                jsr        [PC + 0x4576 /* 000059AE */]
  2073. 0000143A  3E1F                     move.w     D7, [A7]+
  2074. 0000143C  6604                     bne        +0x6 /* 00001442 */
  2075. 0000143E  4246                     clr.w      D6
  2076. 00001440  604A                     bra        +0x4C /* 0000148C */
  2077. label00001442:
  2078. 00001442  3006                     move.w     D0, D6
  2079. 00001444  5346                     subq.w     D6, 1
  2080. 00001446  3007                     move.w     D0, D7
  2081. 00001448  0440 FFCA                subi.w     D0, 0xFFCA
  2082. 0000144C  6706                     beq        +0x8 /* 00001454 */
  2083. 0000144E  5B40                     subq.w     D0, 5
  2084. 00001450  671C                     beq        +0x1E /* 0000146E */
  2085. 00001452  6036                     bra        +0x38 /* 0000148A */
  2086. label00001454:
  2087. 00001454  558F                     subq.l     A7, 2
  2088. 00001456  3F2D D71E                move.w     -[A7], [A5 - 0x28E2]
  2089. 0000145A  2F2D D720                move.l     -[A7], [A5 - 0x28E0]
  2090. 0000145E  486D D724                pea.l      [A5 - 0x28DC]
  2091. 00001462  4EBA 46C8                jsr        [PC + 0x46C8 /* 00005B2C */]
  2092. 00001466  3E1F                     move.w     D7, [A7]+
  2093. 00001468  6722                     beq        +0x24 /* 0000148C */
  2094. 0000146A  4246                     clr.w      D6
  2095. 0000146C  601E                     bra        +0x20 /* 0000148C */
  2096. label0000146E:
  2097. 0000146E  703C                     moveq.l    D0, 0x3C
  2098. 00001470  2F00                     move.l     -[A7], D0
  2099. 00001472  4EBA F642                jsr        [PC - 0x9BE /* 00000AB6 */]
  2100. 00001476  48C0                     ext.l      D0
  2101. 00001478  721E                     moveq.l    D1, 0x1E
  2102. 0000147A  D081                     add.l      D0, D1
  2103. 0000147C  2040                     movea.l    A0, D0
  2104. 0000147E  43EE FFFC                lea.l      A1, [A6 - 0x4]
  2105. 00001482  A03B                     syscall    Delay
  2106. 00001484  2280                     move.l     [A1], D0
  2107. 00001486  584F                     addq.w     A7, 4
  2108. 00001488  6002                     bra        +0x4 /* 0000148C */
  2109. label0000148A:
  2110. 0000148A  4246                     clr.w      D6
  2111. label0000148C:
  2112. 0000148C  4A46                     tst.w      D6
  2113. 0000148E  6E90                     bgt        -0x6E /* 00001420 */
  2114. 00001490  4A47                     tst.w      D7
  2115. 00001492  670E                     beq        +0x10 /* 000014A2 */
  2116. 00001494  7001                     moveq.l    D0, 0x01
  2117. 00001496  2F00                     move.l     -[A7], D0
  2118. 00001498  48C7                     ext.l      D7
  2119. 0000149A  2F07                     move.l     -[A7], D7
  2120. 0000149C  4EBA 1B94                jsr        [PC + 0x1B94 /* 00003032 */]
  2121. 000014A0  504F                     addq.w     A7, 8
  2122. label000014A2:
  2123. 000014A2  4CEE 00C0 FFF4           movem.l    D6,D7, [A6 - 0xC]
  2124. 000014A8  4E5E                     unlink     A6
  2125. 000014AA  4E75                     rts
  2126. fn000014AC:
  2127. 000014AC  4E56 FFB0                link       A6, -0x0050
  2128. 000014B0  2F07                     move.l     -[A7], D7
  2129. 000014B2  7000                     moveq.l    D0, 0x00
  2130. 000014B4  2D40 FFBC                move.l     [A6 - 0x44], D0
  2131. 000014B8  3D6D D892 FFC8           move.w     [A6 - 0x38], [A5 - 0x276E]
  2132. 000014BE  2D6D D894 FFD0           move.l     [A6 - 0x30], [A5 - 0x276C]
  2133. 000014C4  2D7C 0000 0B44 FFD4      move.l     [A6 - 0x2C], 0xB44
  2134. 000014CC  3D7C 0001 FFDC           move.w     [A6 - 0x24], 0x1
  2135. 000014D2  2D40 FFDE                move.l     [A6 - 0x22], D0
  2136. 000014D6  558F                     subq.l     A7, 2
  2137. 000014D8  486E FFB0                pea.l      [A6 - 0x50]
  2138. 000014DC  7000                     moveq.l    D0, 0x00
  2139. 000014DE  1F00                     move.b     -[A7], D0
  2140. 000014E0  4EBA 41E8                jsr        [PC + 0x41E8 /* 000056CA */]
  2141. 000014E4  3E1F                     move.w     D7, [A7]+
  2142. 000014E6  672C                     beq        +0x2E /* 00001514 */
  2143. 000014E8  0C47 FFD9                cmpi.w     D7, 0xFFD9
  2144. 000014EC  6618                     bne        +0x1A /* 00001506 */
  2145. 000014EE  206D D894                movea.l    A0, [A5 - 0x276C]
  2146. 000014F2  7002                     moveq.l    D0, 0x02
  2147. 000014F4  B068 0004                cmp.w      D0, [A0 + 0x4]
  2148. 000014F8  670C                     beq        +0xE /* 00001506 */
  2149. 000014FA  700B                     moveq.l    D0, 0x0B
  2150. 000014FC  2F00                     move.l     -[A7], D0
  2151. 000014FE  4EBA 088C                jsr        [PC + 0x88C /* 00001D8C */]
  2152. 00001502  584F                     addq.w     A7, 4
  2153. 00001504  600E                     bra        +0x10 /* 00001514 */
  2154. label00001506:
  2155. 00001506  7001                     moveq.l    D0, 0x01
  2156. 00001508  2F00                     move.l     -[A7], D0
  2157. 0000150A  48C7                     ext.l      D7
  2158. 0000150C  2F07                     move.l     -[A7], D7
  2159. 0000150E  4EBA 1B22                jsr        [PC + 0x1B22 /* 00003032 */]
  2160. 00001512  504F                     addq.w     A7, 8
  2161. label00001514:
  2162. 00001514  2E2E FFAC                move.l     D7, [A6 - 0x54]
  2163. 00001518  4E5E                     unlink     A6
  2164. 0000151A  4E75                     rts
  2165. fn0000151C:
  2166. 0000151C  4E56 FFB0                link       A6, -0x0050
  2167. 00001520  7000                     moveq.l    D0, 0x00
  2168. 00001522  2D40 FFBC                move.l     [A6 - 0x44], D0
  2169. 00001526  3D6D D892 FFC8           move.w     [A6 - 0x38], [A5 - 0x276E]
  2170. 0000152C  2D7C 0000 0B44 FFD4      move.l     [A6 - 0x2C], 0xB44
  2171. 00001534  3D7C 0001 FFDC           move.w     [A6 - 0x24], 0x1
  2172. 0000153A  2D40 FFDE                move.l     [A6 - 0x22], D0
  2173. 0000153E  558F                     subq.l     A7, 2
  2174. 00001540  486E FFB0                pea.l      [A6 - 0x50]
  2175. 00001544  7000                     moveq.l    D0, 0x00
  2176. 00001546  1F00                     move.b     -[A7], D0
  2177. 00001548  4EBA 42E4                jsr        [PC + 0x42E4 /* 0000582E */]
  2178. 0000154C  4E5E                     unlink     A6
  2179. 0000154E  4E75                     rts
  2180. fn00001550:
  2181. 00001550  4E56 FF86                link       A6, -0x007A
  2182. 00001554  2F07                     move.l     -[A7], D7
  2183. 00001556  4A6D DC9E                tst.w      [A5 - 0x2362]
  2184. 0000155A  670E                     beq        +0x10 /* 0000156A */
  2185. 0000155C  4A2D D764                tst.b      [A5 - 0x289C]
  2186. 00001560  6604                     bne        +0x6 /* 00001566 */
  2187. 00001562  4EBA FD12                jsr        [PC - 0x2EE /* 00001276 */]
  2188. label00001566:
  2189. 00001566  7000                     moveq.l    D0, 0x00
  2190. 00001568  6076                     bra        +0x78 /* 000015E0 */
  2191. label0000156A:
  2192. 0000156A  7000                     moveq.l    D0, 0x00
  2193. 0000156C  2D40 FF92                move.l     [A6 - 0x6E], D0
  2194. 00001570  41ED D724                lea.l      A0, [A5 - 0x28DC]
  2195. 00001574  2D48 FF98                move.l     [A6 - 0x68], A0
  2196. 00001578  3D6D D71E FF9C           move.w     [A6 - 0x64], [A5 - 0x28E2]
  2197. 0000157E  2D6D D720 FFB6           move.l     [A6 - 0x4A], [A5 - 0x28E0]
  2198. 00001584  422E FFA0                clr.b      [A6 - 0x60]
  2199. 00001588  426E FFA2                clr.w      [A6 - 0x5E]
  2200. 0000158C  558F                     subq.l     A7, 2
  2201. 0000158E  486E FF86                pea.l      [A6 - 0x7A]
  2202. 00001592  7000                     moveq.l    D0, 0x00
  2203. 00001594  1F00                     move.b     -[A7], D0
  2204. 00001596  4EBA 42F4                jsr        [PC + 0x42F4 /* 0000588C */]
  2205. 0000159A  3E1F                     move.w     D7, [A7]+
  2206. 0000159C  670E                     beq        +0x10 /* 000015AC */
  2207. 0000159E  0C47 FFD5                cmpi.w     D7, 0xFFD5
  2208. 000015A2  6604                     bne        +0x6 /* 000015A8 */
  2209. 000015A4  4EBA FCD0                jsr        [PC - 0x330 /* 00001276 */]
  2210. label000015A8:
  2211. 000015A8  7001                     moveq.l    D0, 0x01
  2212. 000015AA  6034                     bra        +0x36 /* 000015E0 */
  2213. label000015AC:
  2214. 000015AC  0CAE 534D 4346 FFA6      cmpi.l     [A6 - 0x5A], 0x534D4346 /* 'SMCF' */
  2215. 000015B4  660A                     bne        +0xC /* 000015C0 */
  2216. 000015B6  0CAE 534D 554E FFAA      cmpi.l     [A6 - 0x56], 0x534D554E /* 'SMUN' */
  2217. 000015BE  670A                     beq        +0xC /* 000015CA */
  2218. label000015C0:
  2219. 000015C0  700C                     moveq.l    D0, 0x0C
  2220. 000015C2  2F00                     move.l     -[A7], D0
  2221. 000015C4  4EBA 07C6                jsr        [PC + 0x7C6 /* 00001D8C */]
  2222. 000015C8  584F                     addq.w     A7, 4
  2223. label000015CA:
  2224. 000015CA  202E FFD2                move.l     D0, [A6 - 0x2E]
  2225. 000015CE  B0AD D88E                cmp.l      D0, [A5 - 0x2772]
  2226. 000015D2  670A                     beq        +0xC /* 000015DE */
  2227. 000015D4  2B6E FFD2 D88E           move.l     [A5 - 0x2772], [A6 - 0x2E]
  2228. 000015DA  7001                     moveq.l    D0, 0x01
  2229. 000015DC  6002                     bra        +0x4 /* 000015E0 */
  2230. label000015DE:
  2231. 000015DE  7000                     moveq.l    D0, 0x00
  2232. label000015E0:
  2233. 000015E0  2E2E FF82                move.l     D7, [A6 - 0x7E]
  2234. 000015E4  4E5E                     unlink     A6
  2235. 000015E6  4E75                     rts
  2236. fn000015E8:
  2237. 000015E8  4E56 FFB0                link       A6, -0x0050
  2238. 000015EC  2F07                     move.l     -[A7], D7
  2239. label000015EE:
  2240. 000015EE  7000                     moveq.l    D0, 0x00
  2241. 000015F0  2D40 FFBC                move.l     [A6 - 0x44], D0
  2242. 000015F4  3D6D D892 FFC8           move.w     [A6 - 0x38], [A5 - 0x276E]
  2243. 000015FA  2D6D D894 FFD0           move.l     [A6 - 0x30], [A5 - 0x276C]
  2244. 00001600  2D7C 0000 0B44 FFD4      move.l     [A6 - 0x2C], 0xB44
  2245. 00001608  3D7C 0001 FFDC           move.w     [A6 - 0x24], 0x1
  2246. 0000160E  2D40 FFDE                move.l     [A6 - 0x22], D0
  2247. 00001612  558F                     subq.l     A7, 2
  2248. 00001614  486E FFB0                pea.l      [A6 - 0x50]
  2249. 00001618  7000                     moveq.l    D0, 0x00
  2250. 0000161A  1F00                     move.b     -[A7], D0
  2251. 0000161C  4EBA 40BE                jsr        [PC + 0x40BE /* 000056DC */]
  2252. 00001620  3E1F                     move.w     D7, [A7]+
  2253. 00001622  670A                     beq        +0xC /* 0000162E */
  2254. 00001624  48C7                     ext.l      D7
  2255. 00001626  2F07                     move.l     -[A7], D7
  2256. 00001628  4EBA 0876                jsr        [PC + 0x876 /* 00001EA0 */]
  2257. 0000162C  584F                     addq.w     A7, 4
  2258. label0000162E:
  2259. 0000162E  4A47                     tst.w      D7
  2260. 00001630  66BC                     bne        -0x42 /* 000015EE */
  2261. 00001632  2E2E FFAC                move.l     D7, [A6 - 0x54]
  2262. 00001636  4E5E                     unlink     A6
  2263. 00001638  4E75                     rts
  2264. fn0000163A:
  2265. 0000163A  4E56 0000                link       A6, 0
  2266. 0000163E  48E7 0720                movem.l    -[A7], D5,D6,D7,A2
  2267. 00001642  206E 0008                movea.l    A0, [A6 + 0x8]
  2268. 00001646  43ED D814                lea.l      A1, [A5 - 0x27EC]
  2269. 0000164A  700C                     moveq.l    D0, 0x0C
  2270. label0000164C:
  2271. 0000164C  22D8                     move.l     [A1]+, [A0]+
  2272. 0000164E  51C8 FFFC                dbf        D0, -0x6 /* 0000164C */
  2273. 00001652  598F                     subq.l     A7, 4
  2274. 00001654  A975                     syscall    TickCount
  2275. 00001656  2E1F                     move.l     D7, [A7]+
  2276. 00001658  4A2D D770                tst.b      [A5 - 0x2890]
  2277. 0000165C  6712                     beq        +0x14 /* 00001670 */
  2278. 0000165E  2007                     move.l     D0, D7
  2279. 00001660  90BC 0000 012C           sub.l      D0, 0x12C
  2280. 00001666  B0AD D76C                cmp.l      D0, [A5 - 0x2894]
  2281. 0000166A  6304                     bls        +0x6 /* 00001670 */
  2282. 0000166C  422D D770                clr.b      [A5 - 0x2890]
  2283. label00001670:
  2284. 00001670  202D D826                move.l     D0, [A5 - 0x27DA]
  2285. 00001674  5380                     subq.l     D0, 1
  2286. 00001676  6B00 015C                bmi        +0x15E /* 000017D4 */
  2287. 0000167A  0C80 0000 0006           cmpi.l     D0, 0x6
  2288. 00001680  6E00 0152                bgt        +0x154 /* 000017D4 */
  2289. 00001684  D080                     add.l      D0, D0
  2290. 00001686  303B 0806                move.w     D0, [PC + D0 + 0x6]
  2291. 0000168A  4EFB 0000                jmp        [PC + D0.w]
  2292. 0000168E  0010 002A                ori.b      [A0], 0x2A /* '*' */
  2293. 00001692  004C 0062                ori.w      A4, 0x62 /* 'b' */
  2294. 00001696  009C 00E2 0138           ori.l      [A4]+, 0xE20138
  2295. 0000169C  7000                     moveq.l    D0, 0x00
  2296. 0000169E  2F00                     move.l     -[A7], D0
  2297. 000016A0  2F00                     move.l     -[A7], D0
  2298. 000016A2  4EBA 0666                jsr        [PC + 0x666 /* 00001D0A */]
  2299. 000016A6  7001                     moveq.l    D0, 0x01
  2300. 000016A8  2F00                     move.l     -[A7], D0
  2301. 000016AA  4EBA 013E                jsr        [PC + 0x13E /* 000017EA */]
  2302. 000016AE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2303. 000016B2  6000 0120                bra        +0x122 /* 000017D4 */
  2304. 000016B6  4A2D D770                tst.b      [A5 - 0x2890]
  2305. 000016BA  6600 0118                bne        +0x11A /* 000017D4 */
  2306. 000016BE  7000                     moveq.l    D0, 0x00
  2307. 000016C0  2F00                     move.l     -[A7], D0
  2308. 000016C2  2F00                     move.l     -[A7], D0
  2309. 000016C4  4EBA 0644                jsr        [PC + 0x644 /* 00001D0A */]
  2310. 000016C8  1B7C 0001 D770           move.b     [A5 - 0x2890], 0x1
  2311. 000016CE  2B47 D76C                move.l     [A5 - 0x2894], D7
  2312. 000016D2  504F                     addq.w     A7, 8
  2313. 000016D4  6000 00FE                bra        +0x100 /* 000017D4 */
  2314. 000016D8  4878 0234                push.l     0x234
  2315. 000016DC  206D D894                movea.l    A0, [A5 - 0x276C]
  2316. 000016E0  4868 0026                pea.l      [A0 + 0x26]
  2317. 000016E4  4EBA 0624                jsr        [PC + 0x624 /* 00001D0A */]
  2318. 000016E8  504F                     addq.w     A7, 8
  2319. 000016EA  6000 00E8                bra        +0xEA /* 000017D4 */
  2320. 000016EE  206D D838                movea.l    A0, [A5 - 0x27C8]
  2321. 000016F2  1010                     move.b     D0, [A0]
  2322. 000016F4  4880                     ext.w      D0
  2323. 000016F6  3C00                     move.w     D6, D0
  2324. 000016F8  4878 0146                push.l     0x146
  2325. 000016FC  48C6                     ext.l      D6
  2326. 000016FE  206D D894                movea.l    A0, [A5 - 0x276C]
  2327. 00001702  2006                     move.l     D0, D6
  2328. 00001704  2200                     move.l     D1, D0
  2329. 00001706  C0FC 0146                mulu.w     D0, 0x146
  2330. 0000170A  4841                     swap.w     D1
  2331. 0000170C  C2FC 0146                mulu.w     D1, 0x146
  2332. 00001710  4841                     swap.w     D1
  2333. 00001712  4241                     clr.w      D1
  2334. 00001714  D081                     add.l      D0, D1
  2335. 00001716  41E8 025A                lea.l      A0, [A0 + 0x25A]
  2336. 0000171A  4870 0800                pea.l      [A0 + D0]
  2337. 0000171E  4EBA 05EA                jsr        [PC + 0x5EA /* 00001D0A */]
  2338. 00001722  504F                     addq.w     A7, 8
  2339. 00001724  6000 00AE                bra        +0xB0 /* 000017D4 */
  2340. 00001728  4A2D D770                tst.b      [A5 - 0x2890]
  2341. 0000172C  6700 00A6                beq        +0xA8 /* 000017D4 */
  2342. 00001730  206D D894                movea.l    A0, [A5 - 0x276C]
  2343. 00001734  3A28 0258                move.w     D5, [A0 + 0x258]
  2344. 00001738  206D D838                movea.l    A0, [A5 - 0x27C8]
  2345. 0000173C  226D D894                movea.l    A1, [A5 - 0x276C]
  2346. 00001740  43E9 0026                lea.l      A1, [A1 + 0x26]
  2347. 00001744  303C 008C                move.w     D0, 0x8C
  2348. label00001748:
  2349. 00001748  22D8                     move.l     [A1]+, [A0]+
  2350. 0000174A  51C8 FFFC                dbf        D0, -0x6 /* 00001748 */
  2351. 0000174E  206D D894                movea.l    A0, [A5 - 0x276C]
  2352. 00001752  3145 0258                move.w     [A0 + 0x258], D5
  2353. 00001756  1B7C 0001 D76A           move.b     [A5 - 0x2896], 0x1
  2354. 0000175C  2B47 D766                move.l     [A5 - 0x289A], D7
  2355. 00001760  7000                     moveq.l    D0, 0x00
  2356. 00001762  2F00                     move.l     -[A7], D0
  2357. 00001764  2F00                     move.l     -[A7], D0
  2358. 00001766  4EBA 05A2                jsr        [PC + 0x5A2 /* 00001D0A */]
  2359. 0000176A  504F                     addq.w     A7, 8
  2360. 0000176C  6066                     bra        +0x68 /* 000017D4 */
  2361. 0000176E  4A2D D770                tst.b      [A5 - 0x2890]
  2362. 00001772  6760                     beq        +0x62 /* 000017D4 */
  2363. 00001774  206D D838                movea.l    A0, [A5 - 0x27C8]
  2364. 00001778  1010                     move.b     D0, [A0]
  2365. 0000177A  4880                     ext.w      D0
  2366. 0000177C  3C00                     move.w     D6, D0
  2367. 0000177E  48C6                     ext.l      D6
  2368. 00001780  226D D894                movea.l    A1, [A5 - 0x276C]
  2369. 00001784  2006                     move.l     D0, D6
  2370. 00001786  2200                     move.l     D1, D0
  2371. 00001788  C0FC 0146                mulu.w     D0, 0x146
  2372. 0000178C  4841                     swap.w     D1
  2373. 0000178E  C2FC 0146                mulu.w     D1, 0x146
  2374. 00001792  4841                     swap.w     D1
  2375. 00001794  4241                     clr.w      D1
  2376. 00001796  D081                     add.l      D0, D1
  2377. 00001798  45E9 025A                lea.l      A2, [A1 + 0x25A]
  2378. 0000179C  43F2 0800                lea.l      A1, [A2 + D0]
  2379. 000017A0  5488                     addq.l     A0, 2
  2380. 000017A2  7050                     moveq.l    D0, 0x50
  2381. label000017A4:
  2382. 000017A4  22D8                     move.l     [A1]+, [A0]+
  2383. 000017A6  51C8 FFFC                dbf        D0, -0x6 /* 000017A4 */
  2384. 000017AA  32D8                     move.w     [A1]+, [A0]+
  2385. 000017AC  1B7C 0001 D76A           move.b     [A5 - 0x2896], 0x1
  2386. 000017B2  2B47 D766                move.l     [A5 - 0x289A], D7
  2387. 000017B6  7000                     moveq.l    D0, 0x00
  2388. 000017B8  2F00                     move.l     -[A7], D0
  2389. 000017BA  2F00                     move.l     -[A7], D0
  2390. 000017BC  4EBA 054C                jsr        [PC + 0x54C /* 00001D0A */]
  2391. 000017C0  504F                     addq.w     A7, 8
  2392. 000017C2  6010                     bra        +0x12 /* 000017D4 */
  2393. 000017C4  422D D770                clr.b      [A5 - 0x2890]
  2394. 000017C8  7000                     moveq.l    D0, 0x00
  2395. 000017CA  2F00                     move.l     -[A7], D0
  2396. 000017CC  2F00                     move.l     -[A7], D0
  2397. 000017CE  4EBA 053A                jsr        [PC + 0x53A /* 00001D0A */]
  2398. 000017D2  504F                     addq.w     A7, 8
  2399. label000017D4:
  2400. 000017D4  7001                     moveq.l    D0, 0x01
  2401. 000017D6  B0AD D826                cmp.l      D0, [A5 - 0x27DA]
  2402. 000017DA  6704                     beq        +0x6 /* 000017E0 */
  2403. 000017DC  4EBA 057E                jsr        [PC + 0x57E /* 00001D5C */]
  2404. label000017E0:
  2405. 000017E0  4CEE 04E0 FFF0           movem.l    D5,D6,D7,A2, [A6 - 0x10]
  2406. 000017E6  4E5E                     unlink     A6
  2407. 000017E8  4E75                     rts
  2408. fn000017EA:
  2409. 000017EA  4E56 0000                link       A6, 0
  2410. 000017EE  2F07                     move.l     -[A7], D7
  2411. 000017F0  1E2E 000B                move.b     D7, [A6 + 0xB]
  2412. 000017F4  4AAD D786                tst.l      [A5 - 0x287A]
  2413. 000017F8  672C                     beq        +0x2E /* 00001826 */
  2414. 000017FA  7000                     moveq.l    D0, 0x00
  2415. 000017FC  2B40 D7D2                move.l     [A5 - 0x282E], D0
  2416. 00001800  222D D786                move.l     D1, [A5 - 0x287A]
  2417. 00001804  7409                     moveq.l    D2, 0x09
  2418. 00001806  D282                     add.l      D1, D2
  2419. 00001808  2B41 D7E4                move.l     [A5 - 0x281C], D1
  2420. 0000180C  558F                     subq.l     A7, 2
  2421. 0000180E  486D D7C6                pea.l      [A5 - 0x283A]
  2422. 00001812  1F07                     move.b     -[A7], D7
  2423. 00001814  4EBA 4896                jsr        [PC + 0x4896 /* 000060AC */]
  2424. 00001818  206D D786                movea.l    A0, [A5 - 0x287A]
  2425. 0000181C  A01F                     syscall    DisposPtr/DisposePtr
  2426. 0000181E  7000                     moveq.l    D0, 0x00
  2427. 00001820  2B40 D786                move.l     [A5 - 0x287A], D0
  2428. 00001824  544F                     addq.w     A7, 2
  2429. label00001826:
  2430. 00001826  4A2D D7AE                tst.b      [A5 - 0x2852]
  2431. 0000182A  6714                     beq        +0x16 /* 00001840 */
  2432. 0000182C  7000                     moveq.l    D0, 0x00
  2433. 0000182E  2B40 D79E                move.l     [A5 - 0x2862], D0
  2434. 00001832  558F                     subq.l     A7, 2
  2435. 00001834  486D D792                pea.l      [A5 - 0x286E]
  2436. 00001838  1F07                     move.b     -[A7], D7
  2437. 0000183A  4EBA 4894                jsr        [PC + 0x4894 /* 000060D0 */]
  2438. 0000183E  544F                     addq.w     A7, 2
  2439. label00001840:
  2440. 00001840  2E2E FFFC                move.l     D7, [A6 - 0x4]
  2441. 00001844  4E5E                     unlink     A6
  2442. 00001846  4E75                     rts
  2443. fn00001848:
  2444. 00001848  4E56 FE36                link       A6, -0x01CA
  2445. 0000184C  48E7 0118                movem.l    -[A7], D7,A3,A4
  2446. 00001850  47EE FE36                lea.l      A3, [A6 - 0x1CA]
  2447. 00001854  49EE FF36                lea.l      A4, [A6 - 0xCA]
  2448. 00001858  4AAD D782                tst.l      [A5 - 0x287E]
  2449. 0000185C  673C                     beq        +0x3E /* 0000189A */
  2450. 0000185E  1B7C 0002 D7E2           move.b     [A5 - 0x281E], 0x2
  2451. 00001864  1B7C 0004 D7E3           move.b     [A5 - 0x281D], 0x4
  2452. 0000186A  2B6D D782 D7E4           move.l     [A5 - 0x281C], [A5 - 0x287E]
  2453. 00001870  2B6D D77E D7E8           move.l     [A5 - 0x2818], [A5 - 0x2882]
  2454. 00001876  558F                     subq.l     A7, 2
  2455. 00001878  486D D7C6                pea.l      [A5 - 0x283A]
  2456. 0000187C  7000                     moveq.l    D0, 0x00
  2457. 0000187E  1F00                     move.b     -[A7], D0
  2458. 00001880  4EBA 4824                jsr        [PC + 0x4824 /* 000060A6 */]
  2459. 00001884  3E1F                     move.w     D7, [A7]+
  2460. 00001886  6606                     bne        +0x8 /* 0000188E */
  2461. 00001888  7001                     moveq.l    D0, 0x01
  2462. 0000188A  6000 00D6                bra        +0xD8 /* 00001962 */
  2463. label0000188E:
  2464. 0000188E  206D D782                movea.l    A0, [A5 - 0x287E]
  2465. 00001892  A01F                     syscall    DisposPtr/DisposePtr
  2466. 00001894  7000                     moveq.l    D0, 0x00
  2467. 00001896  2B40 D782                move.l     [A5 - 0x287E], D0
  2468. label0000189A:
  2469. 0000189A  4AAD D782                tst.l      [A5 - 0x287E]
  2470. 0000189E  6600 00C0                bne        +0xC2 /* 00001960 */
  2471. 000018A2  2F0B                     move.l     -[A7], A3
  2472. 000018A4  3F3C 0FA0                move.w     -[A7], 0xFA0
  2473. 000018A8  7009                     moveq.l    D0, 0x09
  2474. 000018AA  3F00                     move.w     -[A7], D0
  2475. 000018AC  4EBA 4332                jsr        [PC + 0x4332 /* 00005BE0 */]
  2476. 000018B0  486E FF9A                pea.l      [A6 - 0x66]
  2477. 000018B4  486D D86A                pea.l      [A5 - 0x2796]
  2478. 000018B8  2F0B                     move.l     -[A7], A3
  2479. 000018BA  486D D848                pea.l      [A5 - 0x27B8]
  2480. 000018BE  4EBA 491C                jsr        [PC + 0x491C /* 000061DC */]
  2481. 000018C2  1B7C 0002 D7E2           move.b     [A5 - 0x281E], 0x2
  2482. 000018C8  1B7C 0004 D7E3           move.b     [A5 - 0x281D], 0x4
  2483. 000018CE  41EE FF9A                lea.l      A0, [A6 - 0x66]
  2484. 000018D2  2B48 D7E4                move.l     [A5 - 0x281C], A0
  2485. 000018D6  2B4C D7E8                move.l     [A5 - 0x2818], A4
  2486. 000018DA  3B7C 0064 D7EC           move.w     [A5 - 0x2814], 0x64 /* 'd' */
  2487. 000018E0  3B7C 0001 D7EE           move.w     [A5 - 0x2812], 0x1
  2488. 000018E6  558F                     subq.l     A7, 2
  2489. 000018E8  486D D7C6                pea.l      [A5 - 0x283A]
  2490. 000018EC  7000                     moveq.l    D0, 0x00
  2491. 000018EE  1F00                     move.b     -[A7], D0
  2492. 000018F0  4EBA 47AE                jsr        [PC + 0x47AE /* 000060A0 */]
  2493. 000018F4  3E1F                     move.w     D7, [A7]+
  2494. 000018F6  6668                     bne        +0x6A /* 00001960 */
  2495. 000018F8  4A6D D7F0                tst.w      [A5 - 0x2810]
  2496. 000018FC  6F62                     ble        +0x64 /* 00001960 */
  2497. 000018FE  7066                     moveq.l    D0, 0x66
  2498. 00001900  A11E                     syscall    NewPtr, flags=1
  2499. 00001902  2B48 D782                move.l     [A5 - 0x287E], A0
  2500. 00001906  660E                     bne        +0x10 /* 00001916 */
  2501. 00001908  486D D6F8                pea.l      [A5 - 0x2908]
  2502. 0000190C  7094                     moveq.l    D0, 0xFFFFFF94
  2503. 0000190E  2F00                     move.l     -[A7], D0
  2504. 00001910  4EBA 1694                jsr        [PC + 0x1694 /* 00002FA6 */]
  2505. 00001914  504F                     addq.w     A7, 8
  2506. label00001916:
  2507. 00001916  558F                     subq.l     A7, 2
  2508. 00001918  2F0C                     move.l     -[A7], A4
  2509. 0000191A  7001                     moveq.l    D0, 0x01
  2510. 0000191C  3F00                     move.w     -[A7], D0
  2511. 0000191E  3F00                     move.w     -[A7], D0
  2512. 00001920  2F2D D782                move.l     -[A7], [A5 - 0x287E]
  2513. 00001924  486D D77E                pea.l      [A5 - 0x2882]
  2514. 00001928  4EBA 4AA0                jsr        [PC + 0x4AA0 /* 000063CA */]
  2515. 0000192C  3E1F                     move.w     D7, [A7]+
  2516. 0000192E  2F2D D782                move.l     -[A7], [A5 - 0x287E]
  2517. 00001932  202D D782                move.l     D0, [A5 - 0x287E]
  2518. 00001936  2F00                     move.l     -[A7], D0
  2519. 00001938  7222                     moveq.l    D1, 0x22
  2520. 0000193A  D081                     add.l      D0, D1
  2521. 0000193C  2F00                     move.l     -[A7], D0
  2522. 0000193E  202D D782                move.l     D0, [A5 - 0x287E]
  2523. 00001942  7444                     moveq.l    D2, 0x44
  2524. 00001944  D082                     add.l      D0, D2
  2525. 00001946  2F00                     move.l     -[A7], D0
  2526. 00001948  4EBA 4892                jsr        [PC + 0x4892 /* 000061DC */]
  2527. 0000194C  4A47                     tst.w      D7
  2528. 0000194E  6604                     bne        +0x6 /* 00001954 */
  2529. 00001950  7001                     moveq.l    D0, 0x01
  2530. 00001952  600E                     bra        +0x10 /* 00001962 */
  2531. label00001954:
  2532. 00001954  206D D782                movea.l    A0, [A5 - 0x287E]
  2533. 00001958  A01F                     syscall    DisposPtr/DisposePtr
  2534. 0000195A  7000                     moveq.l    D0, 0x00
  2535. 0000195C  2B40 D782                move.l     [A5 - 0x287E], D0
  2536. label00001960:
  2537. 00001960  7000                     moveq.l    D0, 0x00
  2538. label00001962:
  2539. 00001962  4CEE 1880 FE2A           movem.l    D7,A3,A4, [A6 - 0x1D6]
  2540. 00001968  4E5E                     unlink     A6
  2541. 0000196A  4E75                     rts
  2542. fn0000196C:
  2543. 0000196C  4E56 FF00                link       A6, -0x0100
  2544. 00001970  48E7 0108                movem.l    -[A7], D7,A4
  2545. 00001974  49EE FF00                lea.l      A4, [A6 - 0x100]
  2546. 00001978  558F                     subq.l     A7, 2
  2547. 0000197A  4EBA 49F8                jsr        [PC + 0x49F8 /* 00006374 */]
  2548. 0000197E  3E1F                     move.w     D7, [A7]+
  2549. 00001980  6608                     bne        +0xA /* 0000198A */
  2550. 00001982  558F                     subq.l     A7, 2
  2551. 00001984  4EBA 4A32                jsr        [PC + 0x4A32 /* 000063B8 */]
  2552. 00001988  3E1F                     move.w     D7, [A7]+
  2553. label0000198A:
  2554. 0000198A  4A47                     tst.w      D7
  2555. 0000198C  671E                     beq        +0x20 /* 000019AC */
  2556. 0000198E  426D DADC                clr.w      [A5 - 0x2524]
  2557. 00001992  2F0C                     move.l     -[A7], A4
  2558. 00001994  3F3C 0FA0                move.w     -[A7], 0xFA0
  2559. 00001998  700D                     moveq.l    D0, 0x0D
  2560. 0000199A  3F00                     move.w     -[A7], D0
  2561. 0000199C  4EBA 4242                jsr        [PC + 0x4242 /* 00005BE0 */]
  2562. 000019A0  2F0C                     move.l     -[A7], A4
  2563. 000019A2  4EBA F098                jsr        [PC - 0xF68 /* 00000A3C */]
  2564. 000019A6  3007                     move.w     D0, D7
  2565. 000019A8  584F                     addq.w     A7, 4
  2566. 000019AA  6054                     bra        +0x56 /* 00001A00 */
  2567. label000019AC:
  2568. 000019AC  7002                     moveq.l    D0, 0x02
  2569. 000019AE  B06D DADC                cmp.w      D0, [A5 - 0x2524]
  2570. 000019B2  6624                     bne        +0x26 /* 000019D8 */
  2571. 000019B4  7030                     moveq.l    D0, 0x30
  2572. 000019B6  B06D DCD2                cmp.w      D0, [A5 - 0x232E]
  2573. 000019BA  6F1C                     ble        +0x1E /* 000019D8 */
  2574. 000019BC  426D DADC                clr.w      [A5 - 0x2524]
  2575. 000019C0  2F0C                     move.l     -[A7], A4
  2576. 000019C2  3F3C 0FA0                move.w     -[A7], 0xFA0
  2577. 000019C6  700F                     moveq.l    D0, 0x0F
  2578. 000019C8  3F00                     move.w     -[A7], D0
  2579. 000019CA  4EBA 4214                jsr        [PC + 0x4214 /* 00005BE0 */]
  2580. 000019CE  2F0C                     move.l     -[A7], A4
  2581. 000019D0  4EBA F06A                jsr        [PC - 0xF96 /* 00000A3C */]
  2582. 000019D4  7E9E                     moveq.l    D7, 0xFFFFFF9E
  2583. 000019D6  584F                     addq.w     A7, 4
  2584. label000019D8:
  2585. 000019D8  4A47                     tst.w      D7
  2586. 000019DA  6622                     bne        +0x24 /* 000019FE */
  2587. 000019DC  4A2D D88C                tst.b      [A5 - 0x2774]
  2588. 000019E0  671C                     beq        +0x1E /* 000019FE */
  2589. 000019E2  1B7C 0001 D7E2           move.b     [A5 - 0x281E], 0x1
  2590. 000019E8  558F                     subq.l     A7, 2
  2591. 000019EA  486D D7C6                pea.l      [A5 - 0x283A]
  2592. 000019EE  7000                     moveq.l    D0, 0x00
  2593. 000019F0  1F00                     move.b     -[A7], D0
  2594. 000019F2  4EBA 46BE                jsr        [PC + 0x46BE /* 000060B2 */]
  2595. 000019F6  1B6D D7E3 D88C           move.b     [A5 - 0x2774], [A5 - 0x281D]
  2596. 000019FC  544F                     addq.w     A7, 2
  2597. label000019FE:
  2598. 000019FE  3007                     move.w     D0, D7
  2599. label00001A00:
  2600. 00001A00  4CEE 1080 FEF8           movem.l    D7,A4, [A6 - 0x108]
  2601. 00001A06  4E5E                     unlink     A6
  2602. 00001A08  4E75                     rts
  2603. fn00001A0A:
  2604. 00001A0A  4E56 0000                link       A6, 0
  2605. 00001A0E  48E7 0118                movem.l    -[A7], D7,A3,A4
  2606. 00001A12  598F                     subq.l     A7, 4
  2607. 00001A14  A975                     syscall    TickCount
  2608. 00001A16  2E1F                     move.l     D7, [A7]+
  2609. 00001A18  202D D766                move.l     D0, [A5 - 0x289A]
  2610. 00001A1C  D0BC 0000 0384           add.l      D0, 0x384
  2611. 00001A22  B087                     cmp.l      D0, D7
  2612. 00001A24  6378                     bls        +0x7A /* 00001A9E */
  2613. 00001A26  2B47 D766                move.l     [A5 - 0x289A], D7
  2614. 00001A2A  598F                     subq.l     A7, 4
  2615. 00001A2C  7004                     moveq.l    D0, 0x04
  2616. 00001A2E  3F00                     move.w     -[A7], D0
  2617. 00001A30  A9B9                     syscall    GetCursor
  2618. 00001A32  285F                     movea.l    A4, [A7]+
  2619. 00001A34  200C                     move.l     D0, A4
  2620. 00001A36  670C                     beq        +0xE /* 00001A44 */
  2621. 00001A38  204C                     movea.l    A0, A4
  2622. 00001A3A  A064                     syscall    MoveHHi
  2623. 00001A3C  204C                     movea.l    A0, A4
  2624. 00001A3E  A029                     syscall    HLock
  2625. 00001A40  2F14                     move.l     -[A7], [A4]
  2626. 00001A42  A851                     syscall    SetCursor
  2627. label00001A44:
  2628. 00001A44  598F                     subq.l     A7, 4
  2629. 00001A46  3F3C 07E0                move.w     -[A7], 0x7E0
  2630. 00001A4A  7000                     moveq.l    D0, 0x00
  2631. 00001A4C  2F00                     move.l     -[A7], D0
  2632. 00001A4E  72FF                     moveq.l    D1, 0xFFFFFFFF
  2633. 00001A50  2F01                     move.l     -[A7], D1
  2634. 00001A52  A97C                     syscall    GetNewDialog
  2635. 00001A54  265F                     movea.l    A3, [A7]+
  2636. 00001A56  200B                     move.l     D0, A3
  2637. 00001A58  6616                     bne        +0x18 /* 00001A70 */
  2638. 00001A5A  486D D704                pea.l      [A5 - 0x28FC]
  2639. 00001A5E  558F                     subq.l     A7, 2
  2640. 00001A60  A9AF                     syscall    ResError
  2641. 00001A62  301F                     move.w     D0, [A7]+
  2642. 00001A64  48C0                     ext.l      D0
  2643. 00001A66  2F00                     move.l     -[A7], D0
  2644. 00001A68  4EBA 153C                jsr        [PC + 0x153C /* 00002FA6 */]
  2645. 00001A6C  504F                     addq.w     A7, 8
  2646. 00001A6E  602A                     bra        +0x2C /* 00001A9A */
  2647. label00001A70:
  2648. 00001A70  2F0B                     move.l     -[A7], A3
  2649. 00001A72  4EBA EB0E                jsr        [PC - 0x14F2 /* 00000582 */]
  2650. 00001A76  2F0B                     move.l     -[A7], A3
  2651. 00001A78  A915                     syscall    ShowWindow
  2652. 00001A7A  2F0B                     move.l     -[A7], A3
  2653. 00001A7C  A981                     syscall    DrawDialog
  2654. 00001A7E  584F                     addq.w     A7, 4
  2655. label00001A80:
  2656. 00001A80  598F                     subq.l     A7, 4
  2657. 00001A82  A975                     syscall    TickCount
  2658. 00001A84  202D D766                move.l     D0, [A5 - 0x289A]
  2659. 00001A88  D0BC 0000 0384           add.l      D0, 0x384
  2660. 00001A8E  B09F                     cmp.l      D0, [A7]+
  2661. 00001A90  62EE                     bhi        -0x10 /* 00001A80 */
  2662. 00001A92  200C                     move.l     D0, A4
  2663. 00001A94  6704                     beq        +0x6 /* 00001A9A */
  2664. 00001A96  2F0B                     move.l     -[A7], A3
  2665. 00001A98  A983                     syscall    DisposeDialog
  2666. label00001A9A:
  2667. 00001A9A  204C                     movea.l    A0, A4
  2668. 00001A9C  A023                     syscall    DisposHandle/DisposeHandle
  2669. label00001A9E:
  2670. 00001A9E  4CEE 1880 FFF4           movem.l    D7,A3,A4, [A6 - 0xC]
  2671. 00001AA4  4E5E                     unlink     A6
  2672. 00001AA6  4E75                     rts
  2673. fn00001AA8:
  2674. 00001AA8  4E56 FDEC                link       A6, -0x0214
  2675. 00001AAC  48E7 0118                movem.l    -[A7], D7,A3,A4
  2676. 00001AB0  47EE FDEC                lea.l      A3, [A6 - 0x214]
  2677. 00001AB4  4247                     clr.w      D7
  2678. 00001AB6  4EBA FD90                jsr        [PC - 0x270 /* 00001848 */]
  2679. 00001ABA  4A00                     tst.b      D0
  2680. 00001ABC  6700 00D0                beq        +0xD2 /* 00001B8E */
  2681. 00001AC0  4878 080D                push.l     0x80D
  2682. 00001AC4  4EBA F154                jsr        [PC - 0xEAC /* 00000C1A */]
  2683. 00001AC8  2840                     movea.l    A4, D0
  2684. 00001ACA  486E FFFC                pea.l      [A6 - 0x4]
  2685. 00001ACE  A874                     syscall    GetPort
  2686. 00001AD0  2F0C                     move.l     -[A7], A4
  2687. 00001AD2  A873                     syscall    SetPort
  2688. 00001AD4  2F0C                     move.l     -[A7], A4
  2689. 00001AD6  A981                     syscall    DrawDialog
  2690. 00001AD8  2F0C                     move.l     -[A7], A4
  2691. 00001ADA  7001                     moveq.l    D0, 0x01
  2692. 00001ADC  3F00                     move.w     -[A7], D0
  2693. 00001ADE  486E FFF6                pea.l      [A6 - 0xA]
  2694. 00001AE2  486E FFF8                pea.l      [A6 - 0x8]
  2695. 00001AE6  486E FFEE                pea.l      [A6 - 0x12]
  2696. 00001AEA  A98D                     syscall    GetDialogItem/GetDItem
  2697. 00001AEC  7003                     moveq.l    D0, 0x03
  2698. 00001AEE  3F00                     move.w     -[A7], D0
  2699. 00001AF0  3F00                     move.w     -[A7], D0
  2700. 00001AF2  A89B                     syscall    PenSize
  2701. 00001AF4  486E FFEE                pea.l      [A6 - 0x12]
  2702. 00001AF8  70FC                     moveq.l    D0, 0xFFFFFFFC
  2703. 00001AFA  3F00                     move.w     -[A7], D0
  2704. 00001AFC  3F00                     move.w     -[A7], D0
  2705. 00001AFE  A8A9                     syscall    InsetRect
  2706. 00001B00  486E FFEE                pea.l      [A6 - 0x12]
  2707. 00001B04  7010                     moveq.l    D0, 0x10
  2708. 00001B06  3F00                     move.w     -[A7], D0
  2709. 00001B08  3F00                     move.w     -[A7], D0
  2710. 00001B0A  A8B0                     syscall    FrameRoundRect
  2711. 00001B0C  7001                     moveq.l    D0, 0x01
  2712. 00001B0E  3F00                     move.w     -[A7], D0
  2713. 00001B10  3F00                     move.w     -[A7], D0
  2714. 00001B12  A89B                     syscall    PenSize
  2715. 00001B14  200C                     move.l     D0, A4
  2716. 00001B16  584F                     addq.w     A7, 4
  2717. 00001B18  6616                     bne        +0x18 /* 00001B30 */
  2718. 00001B1A  486D D712                pea.l      [A5 - 0x28EE]
  2719. 00001B1E  558F                     subq.l     A7, 2
  2720. 00001B20  A9AF                     syscall    ResError
  2721. 00001B22  301F                     move.w     D0, [A7]+
  2722. 00001B24  48C0                     ext.l      D0
  2723. 00001B26  2F00                     move.l     -[A7], D0
  2724. 00001B28  4EBA 147C                jsr        [PC + 0x147C /* 00002FA6 */]
  2725. 00001B2C  504F                     addq.w     A7, 8
  2726. 00001B2E  601C                     bra        +0x1E /* 00001B4C */
  2727. label00001B30:
  2728. 00001B30  7000                     moveq.l    D0, 0x00
  2729. 00001B32  2F00                     move.l     -[A7], D0
  2730. 00001B34  486E FFEC                pea.l      [A6 - 0x14]
  2731. 00001B38  A991                     syscall    ModalDialog
  2732. 00001B3A  7001                     moveq.l    D0, 0x01
  2733. 00001B3C  B06E FFEC                cmp.w      D0, [A6 - 0x14]
  2734. 00001B40  66EE                     bne        -0x10 /* 00001B30 */
  2735. 00001B42  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  2736. 00001B46  A873                     syscall    SetPort
  2737. 00001B48  2F0C                     move.l     -[A7], A4
  2738. 00001B4A  A983                     syscall    DisposeDialog
  2739. label00001B4C:
  2740. 00001B4C  426D DADC                clr.w      [A5 - 0x2524]
  2741. 00001B50  4EBA F444                jsr        [PC - 0xBBC /* 00000F96 */]
  2742. 00001B54  4EBA F53A                jsr        [PC - 0xAC6 /* 00001090 */]
  2743. 00001B58  3B7C 0001 DADA           move.w     [A5 - 0x2526], 0x1
  2744. 00001B5E  4EBA F690                jsr        [PC - 0x970 /* 000011F0 */]
  2745. 00001B62  4EBA F1EA                jsr        [PC - 0xE16 /* 00000D4E */]
  2746. 00001B66  3B7C 0001 DADC           move.w     [A5 - 0x2524], 0x1
  2747. 00001B6C  4EBA F428                jsr        [PC - 0xBD8 /* 00000F96 */]
  2748. 00001B70  4EBA F51E                jsr        [PC - 0xAE2 /* 00001090 */]
  2749. 00001B74  3B7C 0001 DADA           move.w     [A5 - 0x2526], 0x1
  2750. 00001B7A  4EBA F674                jsr        [PC - 0x98C /* 000011F0 */]
  2751. 00001B7E  4EBA F1CE                jsr        [PC - 0xE32 /* 00000D4E */]
  2752. 00001B82  3B7C 0001 DADC           move.w     [A5 - 0x2524], 0x1
  2753. 00001B88  4EBA F3CA                jsr        [PC - 0xC36 /* 00000F54 */]
  2754. 00001B8C  7E01                     moveq.l    D7, 0x01
  2755. label00001B8E:
  2756. 00001B8E  4A47                     tst.w      D7
  2757. 00001B90  6626                     bne        +0x28 /* 00001BB8 */
  2758. 00001B92  200D                     move.l     D0, A5
  2759. 00001B94  2A78 0904                movea.l    A5, [0x00000904 /* CurrentA5 */]
  2760. 00001B98  2B40 D78E                move.l     [A5 - 0x2872], D0
  2761. 00001B9C  422D D7AE                clr.b      [A5 - 0x2852]
  2762. 00001BA0  426D D7B0                clr.w      [A5 - 0x2850]
  2763. 00001BA4  426D D7B2                clr.w      [A5 - 0x284E]
  2764. 00001BA8  558F                     subq.l     A7, 2
  2765. 00001BAA  486D D792                pea.l      [A5 - 0x286E]
  2766. 00001BAE  7000                     moveq.l    D0, 0x00
  2767. 00001BB0  1F00                     move.b     -[A7], D0
  2768. 00001BB2  4EBA 4516                jsr        [PC + 0x4516 /* 000060CA */]
  2769. 00001BB6  3E1F                     move.w     D7, [A7]+
  2770. label00001BB8:
  2771. 00001BB8  4A47                     tst.w      D7
  2772. 00001BBA  6600 0098                bne        +0x9A /* 00001C54 */
  2773. 00001BBE  486E FEEC                pea.l      [A6 - 0x114]
  2774. 00001BC2  3F3C 0FA0                move.w     -[A7], 0xFA0
  2775. 00001BC6  7009                     moveq.l    D0, 0x09
  2776. 00001BC8  3F00                     move.w     -[A7], D0
  2777. 00001BCA  4EBA 4014                jsr        [PC + 0x4014 /* 00005BE0 */]
  2778. 00001BCE  2F0B                     move.l     -[A7], A3
  2779. 00001BD0  3F3C 0FA0                move.w     -[A7], 0xFA0
  2780. 00001BD4  700A                     moveq.l    D0, 0x0A
  2781. 00001BD6  3F00                     move.w     -[A7], D0
  2782. 00001BD8  4EBA 4006                jsr        [PC + 0x4006 /* 00005BE0 */]
  2783. 00001BDC  4AAD D786                tst.l      [A5 - 0x287A]
  2784. 00001BE0  6626                     bne        +0x28 /* 00001C08 */
  2785. 00001BE2  7000                     moveq.l    D0, 0x00
  2786. 00001BE4  1013                     move.b     D0, [A3]
  2787. 00001BE6  7200                     moveq.l    D1, 0x00
  2788. 00001BE8  122E FEEC                move.b     D1, [A6 - 0x114]
  2789. 00001BEC  D240                     add.w      D1, D0
  2790. 00001BEE  7000                     moveq.l    D0, 0x00
  2791. 00001BF0  102D D848                move.b     D0, [A5 - 0x27B8]
  2792. 00001BF4  D041                     add.w      D0, D1
  2793. 00001BF6  D07C 000C                add.w      D0, 0xC
  2794. 00001BFA  48C0                     ext.l      D0
  2795. 00001BFC  A11E                     syscall    NewPtr, flags=1
  2796. 00001BFE  2B48 D786                move.l     [A5 - 0x287A], A0
  2797. 00001C02  6604                     bne        +0x6 /* 00001C08 */
  2798. 00001C04  3E38 0220                move.w     D7, [0x00000220 /* MemErr */]
  2799. label00001C08:
  2800. 00001C08  4A47                     tst.w      D7
  2801. 00001C0A  6648                     bne        +0x4A /* 00001C54 */
  2802. 00001C0C  2F2D D786                move.l     -[A7], [A5 - 0x287A]
  2803. 00001C10  2F0B                     move.l     -[A7], A3
  2804. 00001C12  486E FEEC                pea.l      [A6 - 0x114]
  2805. 00001C16  486D D848                pea.l      [A5 - 0x27B8]
  2806. 00001C1A  102D D7AE                move.b     D0, [A5 - 0x2852]
  2807. 00001C1E  4880                     ext.w      D0
  2808. 00001C20  3F00                     move.w     -[A7], D0
  2809. 00001C22  4EBA 45F0                jsr        [PC + 0x45F0 /* 00006214 */]
  2810. 00001C26  7000                     moveq.l    D0, 0x00
  2811. 00001C28  2B40 D7D2                move.l     [A5 - 0x282E], D0
  2812. 00001C2C  2B6D D786 D7E4           move.l     [A5 - 0x281C], [A5 - 0x287A]
  2813. 00001C32  1B7C 0002 D7E2           move.b     [A5 - 0x281E], 0x2
  2814. 00001C38  1B7C 0004 D7E3           move.b     [A5 - 0x281D], 0x4
  2815. 00001C3E  1B7C 0001 D7E8           move.b     [A5 - 0x2818], 0x1
  2816. 00001C44  558F                     subq.l     A7, 2
  2817. 00001C46  486D D7C6                pea.l      [A5 - 0x283A]
  2818. 00001C4A  7000                     moveq.l    D0, 0x00
  2819. 00001C4C  1F00                     move.b     -[A7], D0
  2820. 00001C4E  4EBA 444A                jsr        [PC + 0x444A /* 0000609A */]
  2821. 00001C52  3E1F                     move.w     D7, [A7]+
  2822. label00001C54:
  2823. 00001C54  4A47                     tst.w      D7
  2824. 00001C56  6606                     bne        +0x8 /* 00001C5E */
  2825. 00001C58  4EBA 0102                jsr        [PC + 0x102 /* 00001D5C */]
  2826. 00001C5C  601C                     bra        +0x1E /* 00001C7A */
  2827. label00001C5E:
  2828. 00001C5E  0C47 0001                cmpi.w     D7, 0x1
  2829. 00001C62  6716                     beq        +0x18 /* 00001C7A */
  2830. 00001C64  2F0B                     move.l     -[A7], A3
  2831. 00001C66  3F3C 0FA0                move.w     -[A7], 0xFA0
  2832. 00001C6A  700E                     moveq.l    D0, 0x0E
  2833. 00001C6C  3F00                     move.w     -[A7], D0
  2834. 00001C6E  4EBA 3F70                jsr        [PC + 0x3F70 /* 00005BE0 */]
  2835. 00001C72  2F0B                     move.l     -[A7], A3
  2836. 00001C74  4EBA EDC6                jsr        [PC - 0x123A /* 00000A3C */]
  2837. 00001C78  584F                     addq.w     A7, 4
  2838. label00001C7A:
  2839. 00001C7A  4CEE 1880 FDE0           movem.l    D7,A3,A4, [A6 - 0x220]
  2840. 00001C80  4E5E                     unlink     A6
  2841. 00001C82  4E75                     rts
  2842. fn00001C84:
  2843. 00001C84  4E56 FFC0                link       A6, -0x0040
  2844. 00001C88  48E7 0108                movem.l    -[A7], D7,A4
  2845. 00001C8C  286E 000C                movea.l    A4, [A6 + 0xC]
  2846. 00001C90  200C                     move.l     D0, A4
  2847. 00001C92  6604                     bne        +0x6 /* 00001C98 */
  2848. 00001C94  286D D78A                movea.l    A4, [A5 - 0x2876]
  2849. label00001C98:
  2850. 00001C98  4EBA FBAE                jsr        [PC - 0x452 /* 00001848 */]
  2851. 00001C9C  4A00                     tst.b      D0
  2852. 00001C9E  675E                     beq        +0x60 /* 00001CFE */
  2853. 00001CA0  302E 000A                move.w     D0, [A6 + 0xA]
  2854. 00001CA4  48C0                     ext.l      D0
  2855. 00001CA6  2D40 FFDE                move.l     [A6 - 0x22], D0
  2856. 00001CAA  422E FFE9                clr.b      [A6 - 0x17]
  2857. 00001CAE  2D6D D77E FFEA           move.l     [A6 - 0x16], [A5 - 0x2882]
  2858. 00001CB4  2D4C FFF0                move.l     [A6 - 0x10], A4
  2859. 00001CB8  3D6E 0012 FFEE           move.w     [A6 - 0x12], [A6 + 0x12]
  2860. 00001CBE  41EE FFC0                lea.l      A0, [A6 - 0x40]
  2861. 00001CC2  2D48 FFF4                move.l     [A6 - 0xC], A0
  2862. 00001CC6  2D6D D78A FFC2           move.l     [A6 - 0x3E], [A5 - 0x2876]
  2863. 00001CCC  3D7C 0242 FFC0           move.w     [A6 - 0x40], 0x242
  2864. 00001CD2  1D7C 0001 FFF8           move.b     [A6 - 0x8], 0x1
  2865. 00001CD8  1D7C 0001 FFF9           move.b     [A6 - 0x7], 0x1
  2866. 00001CDE  1D7C 000E FFFB           move.b     [A6 - 0x5], 0xE
  2867. 00001CE4  422E FFFA                clr.b      [A6 - 0x6]
  2868. 00001CE8  558F                     subq.l     A7, 2
  2869. 00001CEA  486E FFCC                pea.l      [A6 - 0x34]
  2870. 00001CEE  7000                     moveq.l    D0, 0x00
  2871. 00001CF0  1F00                     move.b     -[A7], D0
  2872. 00001CF2  4EBA 43E2                jsr        [PC + 0x43E2 /* 000060D6 */]
  2873. 00001CF6  3E1F                     move.w     D7, [A7]+
  2874. 00001CF8  6604                     bne        +0x6 /* 00001CFE */
  2875. 00001CFA  7001                     moveq.l    D0, 0x01
  2876. 00001CFC  6002                     bra        +0x4 /* 00001D00 */
  2877. label00001CFE:
  2878. 00001CFE  7000                     moveq.l    D0, 0x00
  2879. label00001D00:
  2880. 00001D00  4CEE 1080 FFB8           movem.l    D7,A4, [A6 - 0x48]
  2881. 00001D06  4E5E                     unlink     A6
  2882. 00001D08  4E75                     rts
  2883. fn00001D0A:
  2884. 00001D0A  4E56 0000                link       A6, 0
  2885. 00001D0E  2F0C                     move.l     -[A7], A4
  2886. 00001D10  286E 0008                movea.l    A4, [A6 + 0x8]
  2887. 00001D14  200C                     move.l     D0, A4
  2888. 00001D16  6604                     bne        +0x6 /* 00001D1C */
  2889. 00001D18  286D D78A                movea.l    A4, [A5 - 0x2876]
  2890. label00001D1C:
  2891. 00001D1C  7000                     moveq.l    D0, 0x00
  2892. 00001D1E  2B40 D820                move.l     [A5 - 0x27E0], D0
  2893. 00001D22  1B7C 0010 D831           move.b     [A5 - 0x27CF], 0x10
  2894. 00001D28  41ED D772                lea.l      A0, [A5 - 0x288E]
  2895. 00001D2C  2B48 D83C                move.l     [A5 - 0x27C4], A0
  2896. 00001D30  2B4C D774                move.l     [A5 - 0x288C], A4
  2897. 00001D34  3B6E 000E D772           move.w     [A5 - 0x288E], [A6 + 0xE]
  2898. 00001D3A  1B7C 0001 D840           move.b     [A5 - 0x27C0], 0x1
  2899. 00001D40  1B7C 0001 D841           move.b     [A5 - 0x27BF], 0x1
  2900. 00001D46  558F                     subq.l     A7, 2
  2901. 00001D48  486D D814                pea.l      [A5 - 0x27EC]
  2902. 00001D4C  7001                     moveq.l    D0, 0x01
  2903. 00001D4E  1F00                     move.b     -[A7], D0
  2904. 00001D50  4EBA 4390                jsr        [PC + 0x4390 /* 000060E2 */]
  2905. 00001D54  286E FFFC                movea.l    A4, [A6 - 0x4]
  2906. 00001D58  4E5E                     unlink     A6
  2907. 00001D5A  4E75                     rts
  2908. fn00001D5C:
  2909. 00001D5C  4E56 0000                link       A6, 0
  2910. 00001D60  2B6D D78A D7B6           move.l     [A5 - 0x284A], [A5 - 0x2876]
  2911. 00001D66  3B7C 0242 D7B4           move.w     [A5 - 0x284C], 0x242
  2912. 00001D6C  1B7C 0001 D7BE           move.b     [A5 - 0x2842], 0x1
  2913. 00001D72  41ED 011A                lea.l      A0, [A5 + 0x11A /* export_31 */]
  2914. 00001D76  2B48 D79E                move.l     [A5 - 0x2862], A0
  2915. 00001D7A  558F                     subq.l     A7, 2
  2916. 00001D7C  486D D792                pea.l      [A5 - 0x286E]
  2917. 00001D80  7001                     moveq.l    D0, 0x01
  2918. 00001D82  1F00                     move.b     -[A7], D0
  2919. 00001D84  4EBA 4356                jsr        [PC + 0x4356 /* 000060DC */]
  2920. 00001D88  4E5E                     unlink     A6
  2921. 00001D8A  4E75                     rts
  2922. export_38:
  2923. fn00001D8C:
  2924. 00001D8C  4E56 FF00                link       A6, -0x0100
  2925. 00001D90  2F0C                     move.l     -[A7], A4
  2926. 00001D92  49EE FF00                lea.l      A4, [A6 - 0x100]
  2927. 00001D96  2F0C                     move.l     -[A7], A4
  2928. 00001D98  3F3C 0FA0                move.w     -[A7], 0xFA0
  2929. 00001D9C  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  2930. 00001DA0  4EBA 3E3E                jsr        [PC + 0x3E3E /* 00005BE0 */]
  2931. 00001DA4  2F0C                     move.l     -[A7], A4
  2932. 00001DA6  4EBA EC94                jsr        [PC - 0x136C /* 00000A3C */]
  2933. 00001DAA  4EBA F350                jsr        [PC - 0xCB0 /* 000010FC */]
  2934. 00001DAE  A9F4                     syscall    ExitToShell
  2935. 00001DB0  286E FEFC                movea.l    A4, [A6 - 0x104]
  2936. 00001DB4  4E5E                     unlink     A6
  2937. 00001DB6  4E75                     rts
  2938. fn00001DB8:
  2939. 00001DB8  4E56 0000                link       A6, 0
  2940. 00001DBC  206D D894                movea.l    A0, [A5 - 0x276C]
  2941. 00001DC0  4868 014C                pea.l      [A0 + 0x14C]
  2942. 00001DC4  486D D9DA                pea.l      [A5 - 0x2626]
  2943. 00001DC8  4EBA E776                jsr        [PC - 0x188A /* 00000540 */]
  2944. 00001DCC  206D D894                movea.l    A0, [A5 - 0x276C]
  2945. 00001DD0  4868 024C                pea.l      [A0 + 0x24C]
  2946. 00001DD4  486D D9CE                pea.l      [A5 - 0x2632]
  2947. 00001DD8  4EBA E766                jsr        [PC - 0x189A /* 00000540 */]
  2948. 00001DDC  206D D894                movea.l    A0, [A5 - 0x276C]
  2949. 00001DE0  316D DADA 0258           move.w     [A0 + 0x258], [A5 - 0x2526]
  2950. 00001DE6  206D D894                movea.l    A0, [A5 - 0x276C]
  2951. 00001DEA  41E8 0026                lea.l      A0, [A0 + 0x26]
  2952. 00001DEE  43ED D8A8                lea.l      A1, [A5 - 0x2758]
  2953. 00001DF2  7048                     moveq.l    D0, 0x48
  2954. label00001DF4:
  2955. 00001DF4  20D9                     move.l     [A0]+, [A1]+
  2956. 00001DF6  51C8 FFFC                dbf        D0, -0x6 /* 00001DF4 */
  2957. 00001DFA  30D9                     move.w     [A0]+, [A1]+
  2958. 00001DFC  4E5E                     unlink     A6
  2959. 00001DFE  4E75                     rts
  2960. fn00001E00:
  2961. 00001E00  4E56 0000                link       A6, 0
  2962. 00001E04  486D D9DA                pea.l      [A5 - 0x2626]
  2963. 00001E08  206D D894                movea.l    A0, [A5 - 0x276C]
  2964. 00001E0C  4868 014C                pea.l      [A0 + 0x14C]
  2965. 00001E10  4EBA E72E                jsr        [PC - 0x18D2 /* 00000540 */]
  2966. 00001E14  486D D9CE                pea.l      [A5 - 0x2632]
  2967. 00001E18  206D D894                movea.l    A0, [A5 - 0x276C]
  2968. 00001E1C  4868 024C                pea.l      [A0 + 0x24C]
  2969. 00001E20  4EBA E71E                jsr        [PC - 0x18E2 /* 00000540 */]
  2970. 00001E24  206D D894                movea.l    A0, [A5 - 0x276C]
  2971. 00001E28  3B68 0258 DADA           move.w     [A5 - 0x2526], [A0 + 0x258]
  2972. 00001E2E  43ED D8A8                lea.l      A1, [A5 - 0x2758]
  2973. 00001E32  41E8 0026                lea.l      A0, [A0 + 0x26]
  2974. 00001E36  7048                     moveq.l    D0, 0x48
  2975. label00001E38:
  2976. 00001E38  22D8                     move.l     [A1]+, [A0]+
  2977. 00001E3A  51C8 FFFC                dbf        D0, -0x6 /* 00001E38 */
  2978. 00001E3E  32D8                     move.w     [A1]+, [A0]+
  2979. 00001E40  4E5E                     unlink     A6
  2980. 00001E42  4E75                     rts
  2981. fn00001E44:
  2982. 00001E44  4E56 FF00                link       A6, -0x0100
  2983. 00001E48  48E7 0018                movem.l    -[A7], A3,A4
  2984. 00001E4C  47EE FF00                lea.l      A3, [A6 - 0x100]
  2985. 00001E50  598F                     subq.l     A7, 4
  2986. 00001E52  3F3C 03EC                move.w     -[A7], 0x3EC
  2987. 00001E56  A9BF                     syscall    GetRMenu
  2988. 00001E58  285F                     movea.l    A4, [A7]+
  2989. 00001E5A  2F0B                     move.l     -[A7], A3
  2990. 00001E5C  3F3C 03EC                move.w     -[A7], 0x3EC
  2991. 00001E60  302D DADC                move.w     D0, [A5 - 0x2524]
  2992. 00001E64  5840                     addq.w     D0, 4
  2993. 00001E66  3F00                     move.w     -[A7], D0
  2994. 00001E68  4EBA 3D76                jsr        [PC + 0x3D76 /* 00005BE0 */]
  2995. 00001E6C  2F0C                     move.l     -[A7], A4
  2996. 00001E6E  7007                     moveq.l    D0, 0x07
  2997. 00001E70  3F00                     move.w     -[A7], D0
  2998. 00001E72  2F0B                     move.l     -[A7], A3
  2999. 00001E74  A947                     syscall    SetMenuItemText/SetItem
  3000. 00001E76  4EBA F058                jsr        [PC - 0xFA8 /* 00000ED0 */]
  3001. 00001E7A  2F0C                     move.l     -[A7], A4
  3002. 00001E7C  7006                     moveq.l    D0, 0x06
  3003. 00001E7E  3F00                     move.w     -[A7], D0
  3004. 00001E80  A939                     syscall    EnableItem
  3005. 00001E82  2F0C                     move.l     -[A7], A4
  3006. 00001E84  7006                     moveq.l    D0, 0x06
  3007. 00001E86  3F00                     move.w     -[A7], D0
  3008. 00001E88  1F2D D9CC                move.b     -[A7], [A5 - 0x2634]
  3009. 00001E8C  A945                     syscall    CheckItem
  3010. 00001E8E  2F0C                     move.l     -[A7], A4
  3011. 00001E90  7006                     moveq.l    D0, 0x06
  3012. 00001E92  3F00                     move.w     -[A7], D0
  3013. 00001E94  A93A                     syscall    DisableItem
  3014. 00001E96  4CEE 1800 FEF8           movem.l    A3,A4, [A6 - 0x108]
  3015. 00001E9C  4E5E                     unlink     A6
  3016. 00001E9E  4E75                     rts
  3017. fn00001EA0:
  3018. 00001EA0  4E56 FEB0                link       A6, -0x0150
  3019. 00001EA4  48E7 0108                movem.l    -[A7], D7,A4
  3020. 00001EA8  49EE FF00                lea.l      A4, [A6 - 0x100]
  3021. 00001EAC  3E2E 000A                move.w     D7, [A6 + 0xA]
  3022. 00001EB0  0C47 FFD4                cmpi.w     D7, 0xFFD4
  3023. 00001EB4  6710                     beq        +0x12 /* 00001EC6 */
  3024. 00001EB6  7001                     moveq.l    D0, 0x01
  3025. 00001EB8  2F00                     move.l     -[A7], D0
  3026. 00001EBA  48C7                     ext.l      D7
  3027. 00001EBC  2F07                     move.l     -[A7], D7
  3028. 00001EBE  4EBA 1172                jsr        [PC + 0x1172 /* 00003032 */]
  3029. 00001EC2  504F                     addq.w     A7, 8
  3030. 00001EC4  602C                     bra        +0x2E /* 00001EF2 */
  3031. label00001EC6:
  3032. 00001EC6  2F0C                     move.l     -[A7], A4
  3033. 00001EC8  3F3C 0FA0                move.w     -[A7], 0xFA0
  3034. 00001ECC  7010                     moveq.l    D0, 0x10
  3035. 00001ECE  3F00                     move.w     -[A7], D0
  3036. 00001ED0  4EBA 3D0E                jsr        [PC + 0x3D0E /* 00005BE0 */]
  3037. 00001ED4  7000                     moveq.l    D0, 0x00
  3038. 00001ED6  2D40 FEBC                move.l     [A6 - 0x144], D0
  3039. 00001EDA  2D40 FEC2                move.l     [A6 - 0x13E], D0
  3040. 00001EDE  3D6D D71E FEC6           move.w     [A6 - 0x13A], [A5 - 0x28E2]
  3041. 00001EE4  41EE FEB0                lea.l      A0, [A6 - 0x150]
  3042. 00001EE8  A017                     syscall    Eject
  3043. 00001EEA  2F0C                     move.l     -[A7], A4
  3044. 00001EEC  4EBA EB4E                jsr        [PC - 0x14B2 /* 00000A3C */]
  3045. 00001EF0  584F                     addq.w     A7, 4
  3046. label00001EF2:
  3047. 00001EF2  4CEE 1080 FEA8           movem.l    D7,A4, [A6 - 0x158]
  3048. 00001EF8  4E5E                     unlink     A6
  3049. 00001EFA  4E75                     rts
  3050. export_39:
  3051. 00001EFC  4E56 FFD2                link       A6, -0x002E
  3052. 00001F00  48E7 1F38                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4
  3053. 00001F04  206E 000E                movea.l    A0, [A6 + 0xE]
  3054. 00001F08  43EE FFEC                lea.l      A1, [A6 - 0x14]
  3055. 00001F0C  22D8                     move.l     [A1]+, [A0]+
  3056. 00001F0E  2290                     move.l     [A1], [A0]
  3057. 00001F10  206E 0012                movea.l    A0, [A6 + 0x12]
  3058. 00001F14  43EE FFF4                lea.l      A1, [A6 - 0xC]
  3059. 00001F18  22D8                     move.l     [A1]+, [A0]+
  3060. 00001F1A  2290                     move.l     [A1], [A0]
  3061. 00001F1C  206E 0016                movea.l    A0, [A6 + 0x16]
  3062. 00001F20  3D7C 0001 FFD6           move.w     [A6 - 0x2A], 0x1
  3063. 00001F26  3028 0004                move.w     D0, [A0 + 0x4]
  3064. 00001F2A  6A18                     bpl        +0x1A /* 00001F44 */
  3065. 00001F2C  0C40 BFFF                cmpi.w     D0, 0xBFFF
  3066. 00001F30  6308                     bls        +0xA /* 00001F3A */
  3067. 00001F32  2050                     movea.l    A0, [A0]
  3068. 00001F34  2050                     movea.l    A0, [A0]
  3069. 00001F36  3028 0004                move.w     D0, [A0 + 0x4]
  3070. label00001F3A:
  3071. 00001F3A  3D68 0020 FFD6           move.w     [A6 - 0x2A], [A0 + 0x20]
  3072. 00001F40  0240 3FFF                andi.w     D0, 0x3FFF
  3073. label00001F44:
  3074. 00001F44  2658                     movea.l    A3, [A0]+
  3075. 00001F46  3840                     movea.w    A4, D0
  3076. 00001F48  5448                     addq.w     A0, 2
  3077. 00001F4A  2D58 FFD8                move.l     [A6 - 0x28], [A0]+
  3078. 00001F4E  2D58 FFDC                move.l     [A6 - 0x24], [A0]+
  3079. 00001F52  2D60 FFE8                move.l     [A6 - 0x18], -[A0]
  3080. 00001F56  2D60 FFE4                move.l     [A6 - 0x1C], -[A0]
  3081. 00001F5A  2055                     movea.l    A0, [A5]
  3082. 00001F5C  2050                     movea.l    A0, [A0]
  3083. 00001F5E  3028 0006                move.w     D0, [A0 + 0x6]
  3084. 00001F62  6A0C                     bpl        +0xE /* 00001F70 */
  3085. 00001F64  2068 0002                movea.l    A0, [A0 + 0x2]
  3086. 00001F68  2050                     movea.l    A0, [A0]
  3087. 00001F6A  B7D0                     cmpa.l     A3, [A0]
  3088. 00001F6C  661E                     bne        +0x20 /* 00001F8C */
  3089. 00001F6E  6006                     bra        +0x8 /* 00001F76 */
  3090. label00001F70:
  3091. 00001F70  B7E8 0002                cmpa.l     A3, [A0 + 0x2]
  3092. 00001F74  6616                     bne        +0x18 /* 00001F8C */
  3093. label00001F76:
  3094. 00001F76  2055                     movea.l    A0, [A5]
  3095. 00001F78  2050                     movea.l    A0, [A0]
  3096. 00001F7A  2068 001C                movea.l    A0, [A0 + 0x1C]
  3097. 00001F7E  2050                     movea.l    A0, [A0]
  3098. 00001F80  2D68 0002 FFE4           move.l     [A6 - 0x1C], [A0 + 0x2]
  3099. 00001F86  2D68 0006 FFE8           move.l     [A6 - 0x18], [A0 + 0x6]
  3100. label00001F8C:
  3101. 00001F8C  202E FFE4                move.l     D0, [A6 - 0x1C]
  3102. 00001F90  B06E FFF2                cmp.w      D0, [A6 - 0xE]
  3103. 00001F94  6C00 0458                bge        +0x45A /* 000023EE */
  3104. 00001F98  4840                     swap.w     D0
  3105. 00001F9A  B06E FFF0                cmp.w      D0, [A6 - 0x10]
  3106. 00001F9E  6C00 044E                bge        +0x450 /* 000023EE */
  3107. 00001FA2  202E FFE8                move.l     D0, [A6 - 0x18]
  3108. 00001FA6  B06E FFEE                cmp.w      D0, [A6 - 0x12]
  3109. 00001FAA  6F00 0442                ble        +0x444 /* 000023EE */
  3110. 00001FAE  4840                     swap.w     D0
  3111. 00001FB0  B06E FFEC                cmp.w      D0, [A6 - 0x14]
  3112. 00001FB4  6F00 0438                ble        +0x43A /* 000023EE */
  3113. 00001FB8  206E 001A                movea.l    A0, [A6 + 0x1A]
  3114. 00001FBC  3028 0004                move.w     D0, [A0 + 0x4]
  3115. 00001FC0  0C40 BFFF                cmpi.w     D0, 0xBFFF
  3116. 00001FC4  6308                     bls        +0xA /* 00001FCE */
  3117. 00001FC6  2050                     movea.l    A0, [A0]
  3118. 00001FC8  2050                     movea.l    A0, [A0]
  3119. 00001FCA  3028 0004                move.w     D0, [A0 + 0x4]
  3120. label00001FCE:
  3121. 00001FCE  0240 3FFF                andi.w     D0, 0x3FFF
  3122. 00001FD2  2258                     movea.l    A1, [A0]+
  3123. 00001FD4  3440                     movea.w    A2, D0
  3124. 00001FD6  5448                     addq.w     A0, 2
  3125. 00001FD8  2010                     move.l     D0, [A0]
  3126. 00001FDA  6712                     beq        +0x14 /* 00001FEE */
  3127. 00001FDC  916E FFF6                sub.w      [A6 - 0xA], D0
  3128. 00001FE0  916E FFFA                sub.w      [A6 - 0x6], D0
  3129. 00001FE4  4840                     swap.w     D0
  3130. 00001FE6  916E FFF4                sub.w      [A6 - 0xC], D0
  3131. 00001FEA  916E FFF8                sub.w      [A6 - 0x8], D0
  3132. label00001FEE:
  3133. 00001FEE  2D6E FFF4 FFE0           move.l     [A6 - 0x20], [A6 - 0xC]
  3134. 00001FF4  202E FFE4                move.l     D0, [A6 - 0x1C]
  3135. 00001FF8  906E FFEE                sub.w      D0, [A6 - 0x12]
  3136. 00001FFC  6F0A                     ble        +0xC /* 00002008 */
  3137. 00001FFE  D16E FFE2                add.w      [A6 - 0x1E], D0
  3138. 00002002  3D6E FFE6 FFEE           move.w     [A6 - 0x12], [A6 - 0x1A]
  3139. label00002008:
  3140. 00002008  4840                     swap.w     D0
  3141. 0000200A  906E FFEC                sub.w      D0, [A6 - 0x14]
  3142. 0000200E  6F0A                     ble        +0xC /* 0000201A */
  3143. 00002010  D16E FFE0                add.w      [A6 - 0x20], D0
  3144. 00002014  3D6E FFE4 FFEC           move.w     [A6 - 0x14], [A6 - 0x1C]
  3145. label0000201A:
  3146. 0000201A  202E FFE8                move.l     D0, [A6 - 0x18]
  3147. 0000201E  B06E FFF2                cmp.w      D0, [A6 - 0xE]
  3148. 00002022  6C04                     bge        +0x6 /* 00002028 */
  3149. 00002024  3D40 FFF2                move.w     [A6 - 0xE], D0
  3150. label00002028:
  3151. 00002028  4840                     swap.w     D0
  3152. 0000202A  B06E FFF0                cmp.w      D0, [A6 - 0x10]
  3153. 0000202E  6C04                     bge        +0x6 /* 00002034 */
  3154. 00002030  3D40 FFF0                move.w     [A6 - 0x10], D0
  3155. label00002034:
  3156. 00002034  362E FFF0                move.w     D3, [A6 - 0x10]
  3157. 00002038  966E FFEC                sub.w      D3, [A6 - 0x14]
  3158. 0000203C  6F00 03B0                ble        +0x3B2 /* 000023EE */
  3159. 00002040  5343                     subq.w     D3, 1
  3160. 00002042  202E FFD8                move.l     D0, [A6 - 0x28]
  3161. 00002046  916E FFEE                sub.w      [A6 - 0x12], D0
  3162. 0000204A  916E FFF2                sub.w      [A6 - 0xE], D0
  3163. 0000204E  4840                     swap.w     D0
  3164. 00002050  916E FFEC                sub.w      [A6 - 0x14], D0
  3165. 00002054  916E FFF0                sub.w      [A6 - 0x10], D0
  3166. 00002058  302E FFD6                move.w     D0, [A6 - 0x2A]
  3167. 0000205C  0C40 0001                cmpi.w     D0, 0x1
  3168. 00002060  671E                     beq        +0x20 /* 00002080 */
  3169. 00002062  322E FFE2                move.w     D1, [A6 - 0x1E]
  3170. 00002066  C2C0                     mulu.w     D1, D0
  3171. 00002068  3D41 FFE2                move.w     [A6 - 0x1E], D1
  3172. 0000206C  322E FFEE                move.w     D1, [A6 - 0x12]
  3173. 00002070  C2C0                     mulu.w     D1, D0
  3174. 00002072  3D41 FFEE                move.w     [A6 - 0x12], D1
  3175. 00002076  322E FFF2                move.w     D1, [A6 - 0xE]
  3176. 0000207A  C2C0                     mulu.w     D1, D0
  3177. 0000207C  3D41 FFF2                move.w     [A6 - 0xE], D1
  3178. label00002080:
  3179. 00002080  302E FFE0                move.w     D0, [A6 - 0x20]
  3180. 00002084  320A                     move.w     D1, A2
  3181. 00002086  C0C1                     mulu.w     D0, D1
  3182. 00002088  D3C0                     add.l      A1, D0
  3183. 0000208A  302E FFE2                move.w     D0, [A6 - 0x1E]
  3184. 0000208E  E848                     lsr        D0.w, 4
  3185. 00002090  E348                     lsl        D0.w, 1
  3186. 00002092  D2C0                     add.w      A1, D0
  3187. 00002094  302E FFEC                move.w     D0, [A6 - 0x14]
  3188. 00002098  320C                     move.w     D1, A4
  3189. 0000209A  C0C1                     mulu.w     D0, D1
  3190. 0000209C  D7C0                     add.l      A3, D0
  3191. 0000209E  302E FFEE                move.w     D0, [A6 - 0x12]
  3192. 000020A2  E840                     asr        D0.w, 4
  3193. 000020A4  E340                     asl        D0.w, 1
  3194. 000020A6  D6C0                     add.w      A3, D0
  3195. 000020A8  4843                     swap.w     D3
  3196. 000020AA  426E FFFE                clr.w      [A6 - 0x2]
  3197. 000020AE  303C 000F                move.w     D0, 0xF
  3198. 000020B2  362E FFEE                move.w     D3, [A6 - 0x12]
  3199. 000020B6  C640                     and.w      D3, D0
  3200. 000020B8  C06E FFE2                and.w      D0, [A6 - 0x1E]
  3201. 000020BC  9640                     sub.w      D3, D0
  3202. 000020BE  6A0A                     bpl        +0xC /* 000020CA */
  3203. 000020C0  0643 0010                addi.w     D3, 0x10
  3204. 000020C4  536E FFFE                subq.w     [A6 - 0x2], 1
  3205. 000020C8  554A                     subq.w     A2, 2
  3206. label000020CA:
  3207. 000020CA  3A2E FFEE                move.w     D5, [A6 - 0x12]
  3208. 000020CE  0245 000F                andi.w     D5, 0xF
  3209. 000020D2  E34D                     lsl        D5.w, 1
  3210. 000020D4  41FA 0326                lea.l      A0, [PC + 0x326 /* 000023FC, value 0x8000, cstring "" */]
  3211. 000020D8  3A30 5000                move.w     D5, [A0 + D5.w]
  3212. 000020DC  4645                     not.w      D5
  3213. 000020DE  4845                     swap.w     D5
  3214. 000020E0  3A3C FFFF                move.w     D5, 0xFFFF
  3215. 000020E4  7C00                     moveq.l    D6, 0x00
  3216. 000020E6  3C2E FFF2                move.w     D6, [A6 - 0xE]
  3217. 000020EA  302E FFEE                move.w     D0, [A6 - 0x12]
  3218. 000020EE  0240 FFF0                andi.w     D0, 0xFFF0
  3219. 000020F2  9C40                     sub.w      D6, D0
  3220. 000020F4  5346                     subq.w     D6, 1
  3221. 000020F6  0806 0004                btst.b     D6, 0x4
  3222. 000020FA  6706                     beq        +0x8 /* 00002102 */
  3223. 000020FC  4846                     swap.w     D6
  3224. 000020FE  5346                     subq.w     D6, 1
  3225. 00002100  4846                     swap.w     D6
  3226. label00002102:
  3227. 00002102  0246 000F                andi.w     D6, 0xF
  3228. 00002106  E34E                     lsl        D6.w, 1
  3229. 00002108  41FA 02F4                lea.l      A0, [PC + 0x2F4 /* 000023FE, value 0x8000C000 */]
  3230. 0000210C  3C30 6000                move.w     D6, [A0 + D6.w]
  3231. 00002110  4A86                     tst.l      D6
  3232. 00002112  6B02                     bmi        +0x4 /* 00002116 */
  3233. 00002114  4846                     swap.w     D6
  3234. label00002116:
  3235. 00002116  302E FFEE                move.w     D0, [A6 - 0x12]
  3236. 0000211A  0240 FFF0                andi.w     D0, 0xFFF0
  3237. 0000211E  3E2E FFF2                move.w     D7, [A6 - 0xE]
  3238. 00002122  0647 001F                addi.w     D7, 0x1F
  3239. 00002126  9E40                     sub.w      D7, D0
  3240. 00002128  EA4F                     lsr        D7.w, 5
  3241. 0000212A  5347                     subq.w     D7, 1
  3242. 0000212C  6602                     bne        +0x4 /* 00002130 */
  3243. 0000212E  CA86                     and.l      D5, D6
  3244. label00002130:
  3245. 00002130  5347                     subq.w     D7, 1
  3246. 00002132  3403                     move.w     D2, D3
  3247. 00002134  E34A                     lsl        D2.w, 1
  3248. 00002136  41FA 02C4                lea.l      A0, [PC + 0x2C4 /* 000023FC, value 0x8000, cstring "" */]
  3249. 0000213A  3430 2000                move.w     D2, [A0 + D2.w]
  3250. 0000213E  4642                     not.w      D2
  3251. 00002140  4842                     swap.w     D2
  3252. 00002142  343C FFFF                move.w     D2, 0xFFFF
  3253. 00002146  302E 000C                move.w     D0, [A6 + 0xC]
  3254. 0000214A  0240 0003                andi.w     D0, 0x3
  3255. 0000214E  D040                     add.w      D0, D0
  3256. 00002150  3D40 FFFC                move.w     [A6 - 0x4], D0
  3257. 00002154  660E                     bne        +0x10 /* 00002164 */
  3258. 00002156  4A6E FFFE                tst.w      [A6 - 0x2]
  3259. 0000215A  6608                     bne        +0xA /* 00002164 */
  3260. 0000215C  0C47 0003                cmpi.w     D7, 0x3
  3261. 00002160  6F00 015E                ble        +0x160 /* 000022C0 */
  3262. label00002164:
  3263. 00002164  3007                     move.w     D0, D7
  3264. 00002166  5440                     addq.w     D0, 2
  3265. 00002168  E548                     lsl        D0.w, 2
  3266. 0000216A  94C0                     sub.w      A2, D0
  3267. 0000216C  98C0                     sub.w      A4, D0
  3268. 0000216E  4A6E FFFC                tst.w      [A6 - 0x4]
  3269. 00002172  6634                     bne        +0x36 /* 000021A8 */
  3270. 00002174  4A43                     tst.w      D3
  3271. 00002176  6630                     bne        +0x32 /* 000021A8 */
  3272. 00002178  4843                     swap.w     D3
  3273. label0000217A:
  3274. 0000217A  2219                     move.l     D1, [A1]+
  3275. 0000217C  2013                     move.l     D0, [A3]
  3276. 0000217E  B181                     xor.l      D1, D0
  3277. 00002180  C285                     and.l      D1, D5
  3278. 00002182  B39B                     xor.l      [A3]+, D1
  3279. 00002184  3207                     move.w     D1, D7
  3280. 00002186  670A                     beq        +0xC /* 00002192 */
  3281. 00002188  6B12                     bmi        +0x14 /* 0000219C */
  3282. 0000218A  5341                     subq.w     D1, 1
  3283. label0000218C:
  3284. 0000218C  26D9                     move.l     [A3]+, [A1]+
  3285. 0000218E  51C9 FFFC                dbf        D1, -0x6 /* 0000218C */
  3286. label00002192:
  3287. 00002192  2219                     move.l     D1, [A1]+
  3288. 00002194  2013                     move.l     D0, [A3]
  3289. 00002196  B181                     xor.l      D1, D0
  3290. 00002198  C286                     and.l      D1, D6
  3291. 0000219A  B39B                     xor.l      [A3]+, D1
  3292. label0000219C:
  3293. 0000219C  D2CA                     add.w      A1, A2
  3294. 0000219E  D6CC                     add.w      A3, A4
  3295. 000021A0  51CB FFD8                dbf        D3, -0x2A /* 0000217A */
  3296. 000021A4  6000 0248                bra        +0x24A /* 000023EE */
  3297. label000021A8:
  3298. 000021A8  4843                     swap.w     D3
  3299. 000021AA  322E FFFC                move.w     D1, [A6 - 0x4]
  3300. 000021AE  323B 1026                move.w     D1, [PC + D1.w + 0x26]
  3301. 000021B2  41FB 1022                lea.l      A0, [PC + D1.w + 0x22]
  3302. 000021B6  3F07                     move.w     -[A7], D7
  3303. label000021B8:
  3304. 000021B8  4843                     swap.w     D3
  3305. 000021BA  7800                     moveq.l    D4, 0x00
  3306. 000021BC  4A6E FFFE                tst.w      [A6 - 0x2]
  3307. 000021C0  6704                     beq        +0x6 /* 000021C6 */
  3308. 000021C2  3819                     move.w     D4, [A1]+
  3309. 000021C4  E6BC                     ror        D4, D3
  3310. label000021C6:
  3311. 000021C6  2219                     move.l     D1, [A1]+
  3312. 000021C8  E6B9                     ror        D1, D3
  3313. 000021CA  2001                     move.l     D0, D1
  3314. 000021CC  B981                     xor.l      D1, D4
  3315. 000021CE  C282                     and.l      D1, D2
  3316. 000021D0  B981                     xor.l      D1, D4
  3317. 000021D2  2800                     move.l     D4, D0
  3318. 000021D4  4ED0                     jmp        [A0]
  3319. 000021D6  00A4 0008 003C           ori.l      -[A4], 0x8003C
  3320. 000021DC  006E C285 839B           ori.w      [A6 - 0x7C65], 0xC285
  3321. 000021E2  3E17                     move.w     D7, [A7]
  3322. 000021E4  671A                     beq        +0x1C /* 00002200 */
  3323. 000021E6  6B00 00C8                bmi        +0xCA /* 000022B0 */
  3324. 000021EA  5347                     subq.w     D7, 1
  3325. label000021EC:
  3326. 000021EC  2219                     move.l     D1, [A1]+
  3327. 000021EE  E6B9                     ror        D1, D3
  3328. 000021F0  2001                     move.l     D0, D1
  3329. 000021F2  B981                     xor.l      D1, D4
  3330. 000021F4  C282                     and.l      D1, D2
  3331. 000021F6  B981                     xor.l      D1, D4
  3332. 000021F8  2800                     move.l     D4, D0
  3333. 000021FA  839B                     or.l       [A3]+, D1
  3334. 000021FC  51CF FFEE                dbf        D7, -0x14 /* 000021EC */
  3335. label00002200:
  3336. 00002200  2219                     move.l     D1, [A1]+
  3337. 00002202  E6B9                     ror        D1, D3
  3338. 00002204  B981                     xor.l      D1, D4
  3339. 00002206  C282                     and.l      D1, D2
  3340. 00002208  B981                     xor.l      D1, D4
  3341. 0000220A  C286                     and.l      D1, D6
  3342. 0000220C  839B                     or.l       [A3]+, D1
  3343. 0000220E  6000 00A0                bra        +0xA2 /* 000022B0 */
  3344. 00002212  C285                     and.l      D1, D5
  3345. 00002214  B39B                     xor.l      [A3]+, D1
  3346. 00002216  3E17                     move.w     D7, [A7]
  3347. 00002218  671A                     beq        +0x1C /* 00002234 */
  3348. 0000221A  6B00 0094                bmi        +0x96 /* 000022B0 */
  3349. 0000221E  5347                     subq.w     D7, 1
  3350. label00002220:
  3351. 00002220  2219                     move.l     D1, [A1]+
  3352. 00002222  E6B9                     ror        D1, D3
  3353. 00002224  2001                     move.l     D0, D1
  3354. 00002226  B981                     xor.l      D1, D4
  3355. 00002228  C282                     and.l      D1, D2
  3356. 0000222A  B981                     xor.l      D1, D4
  3357. 0000222C  2800                     move.l     D4, D0
  3358. 0000222E  B39B                     xor.l      [A3]+, D1
  3359. 00002230  51CF FFEE                dbf        D7, -0x14 /* 00002220 */
  3360. label00002234:
  3361. 00002234  2219                     move.l     D1, [A1]+
  3362. 00002236  E6B9                     ror        D1, D3
  3363. 00002238  B981                     xor.l      D1, D4
  3364. 0000223A  C282                     and.l      D1, D2
  3365. 0000223C  B981                     xor.l      D1, D4
  3366. 0000223E  C286                     and.l      D1, D6
  3367. 00002240  B39B                     xor.l      [A3]+, D1
  3368. 00002242  606C                     bra        +0x6E /* 000022B0 */
  3369. 00002244  C285                     and.l      D1, D5
  3370. 00002246  4681                     not.l      D1
  3371. 00002248  C39B                     and.l      [A3]+, D1
  3372. 0000224A  3E17                     move.w     D7, [A7]
  3373. 0000224C  671A                     beq        +0x1C /* 00002268 */
  3374. 0000224E  6B60                     bmi        +0x62 /* 000022B0 */
  3375. 00002250  5347                     subq.w     D7, 1
  3376. label00002252:
  3377. 00002252  2219                     move.l     D1, [A1]+
  3378. 00002254  E6B9                     ror        D1, D3
  3379. 00002256  2001                     move.l     D0, D1
  3380. 00002258  B981                     xor.l      D1, D4
  3381. 0000225A  C282                     and.l      D1, D2
  3382. 0000225C  B981                     xor.l      D1, D4
  3383. 0000225E  2800                     move.l     D4, D0
  3384. 00002260  4681                     not.l      D1
  3385. 00002262  C39B                     and.l      [A3]+, D1
  3386. 00002264  51CF FFEC                dbf        D7, -0x16 /* 00002252 */
  3387. label00002268:
  3388. 00002268  2219                     move.l     D1, [A1]+
  3389. 0000226A  E6B9                     ror        D1, D3
  3390. 0000226C  B981                     xor.l      D1, D4
  3391. 0000226E  C282                     and.l      D1, D2
  3392. 00002270  B981                     xor.l      D1, D4
  3393. 00002272  C286                     and.l      D1, D6
  3394. 00002274  4681                     not.l      D1
  3395. 00002276  C39B                     and.l      [A3]+, D1
  3396. 00002278  6036                     bra        +0x38 /* 000022B0 */
  3397. 0000227A  2013                     move.l     D0, [A3]
  3398. 0000227C  B181                     xor.l      D1, D0
  3399. 0000227E  C285                     and.l      D1, D5
  3400. 00002280  B39B                     xor.l      [A3]+, D1
  3401. 00002282  3E17                     move.w     D7, [A7]
  3402. 00002284  6718                     beq        +0x1A /* 0000229E */
  3403. 00002286  6B28                     bmi        +0x2A /* 000022B0 */
  3404. 00002288  5347                     subq.w     D7, 1
  3405. label0000228A:
  3406. 0000228A  2219                     move.l     D1, [A1]+
  3407. 0000228C  E6B9                     ror        D1, D3
  3408. 0000228E  2001                     move.l     D0, D1
  3409. 00002290  B981                     xor.l      D1, D4
  3410. 00002292  C282                     and.l      D1, D2
  3411. 00002294  B981                     xor.l      D1, D4
  3412. 00002296  2800                     move.l     D4, D0
  3413. 00002298  26C1                     move.l     [A3]+, D1
  3414. 0000229A  51CF FFEE                dbf        D7, -0x14 /* 0000228A */
  3415. label0000229E:
  3416. 0000229E  2219                     move.l     D1, [A1]+
  3417. 000022A0  E6B9                     ror        D1, D3
  3418. 000022A2  B981                     xor.l      D1, D4
  3419. 000022A4  C282                     and.l      D1, D2
  3420. 000022A6  B981                     xor.l      D1, D4
  3421. 000022A8  2013                     move.l     D0, [A3]
  3422. 000022AA  B181                     xor.l      D1, D0
  3423. 000022AC  C286                     and.l      D1, D6
  3424. 000022AE  B39B                     xor.l      [A3]+, D1
  3425. label000022B0:
  3426. 000022B0  D2CA                     add.w      A1, A2
  3427. 000022B2  D6CC                     add.w      A3, A4
  3428. 000022B4  4843                     swap.w     D3
  3429. 000022B6  51CB FF00                dbf        D3, -0x102 /* 000021B8 */
  3430. 000022BA  544F                     addq.w     A7, 2
  3431. 000022BC  6000 0130                bra        +0x132 /* 000023EE */
  3432. label000022C0:
  3433. 000022C0  4843                     swap.w     D3
  3434. 000022C2  4A47                     tst.w      D7
  3435. 000022C4  6A1C                     bpl        +0x1E /* 000022E2 */
  3436. 000022C6  3803                     move.w     D4, D3
  3437. 000022C8  4843                     swap.w     D3
  3438. label000022CA:
  3439. 000022CA  2211                     move.l     D1, [A1]
  3440. 000022CC  E6B9                     ror        D1, D3
  3441. 000022CE  2013                     move.l     D0, [A3]
  3442. 000022D0  B181                     xor.l      D1, D0
  3443. 000022D2  C285                     and.l      D1, D5
  3444. 000022D4  B393                     xor.l      [A3], D1
  3445. 000022D6  D2CA                     add.w      A1, A2
  3446. 000022D8  D6CC                     add.w      A3, A4
  3447. 000022DA  51CC FFEE                dbf        D4, -0x14 /* 000022CA */
  3448. 000022DE  6000 010E                bra        +0x110 /* 000023EE */
  3449. label000022E2:
  3450. 000022E2  6630                     bne        +0x32 /* 00002314 */
  3451. 000022E4  3803                     move.w     D4, D3
  3452. 000022E6  4843                     swap.w     D3
  3453. 000022E8  514C                     subq.w     A4, 8
  3454. label000022EA:
  3455. 000022EA  4CD1 0082                movem.l    D1,D7, [A1]
  3456. 000022EE  E6B9                     ror        D1, D3
  3457. 000022F0  E6BF                     ror        D7, D3
  3458. 000022F2  B387                     xor.l      D7, D1
  3459. 000022F4  CE82                     and.l      D7, D2
  3460. 000022F6  B387                     xor.l      D7, D1
  3461. 000022F8  2013                     move.l     D0, [A3]
  3462. 000022FA  B181                     xor.l      D1, D0
  3463. 000022FC  C285                     and.l      D1, D5
  3464. 000022FE  B39B                     xor.l      [A3]+, D1
  3465. 00002300  2013                     move.l     D0, [A3]
  3466. 00002302  B187                     xor.l      D7, D0
  3467. 00002304  CE86                     and.l      D7, D6
  3468. 00002306  BF9B                     xor.l      [A3]+, D7
  3469. 00002308  D2CA                     add.w      A1, A2
  3470. 0000230A  D6CC                     add.w      A3, A4
  3471. 0000230C  51CC FFDC                dbf        D4, -0x26 /* 000022EA */
  3472. 00002310  6000 00DC                bra        +0xDE /* 000023EE */
  3473. label00002314:
  3474. 00002314  5347                     subq.w     D7, 1
  3475. 00002316  663C                     bne        +0x3E /* 00002354 */
  3476. label00002318:
  3477. 00002318  4CD1 0092                movem.l    D1,D4,D7, [A1]
  3478. 0000231C  4843                     swap.w     D3
  3479. 0000231E  E6B9                     ror        D1, D3
  3480. 00002320  E6BC                     ror        D4, D3
  3481. 00002322  E6BF                     ror        D7, D3
  3482. 00002324  B987                     xor.l      D7, D4
  3483. 00002326  CE82                     and.l      D7, D2
  3484. 00002328  B987                     xor.l      D7, D4
  3485. 0000232A  B384                     xor.l      D4, D1
  3486. 0000232C  C882                     and.l      D4, D2
  3487. 0000232E  B384                     xor.l      D4, D1
  3488. 00002330  2013                     move.l     D0, [A3]
  3489. 00002332  B181                     xor.l      D1, D0
  3490. 00002334  C285                     and.l      D1, D5
  3491. 00002336  B181                     xor.l      D1, D0
  3492. 00002338  202B 0008                move.l     D0, [A3 + 0x8]
  3493. 0000233C  B187                     xor.l      D7, D0
  3494. 0000233E  CE86                     and.l      D7, D6
  3495. 00002340  B187                     xor.l      D7, D0
  3496. 00002342  48D3 0092                movem.l    [A3], D1,D4,D7
  3497. 00002346  D2CA                     add.w      A1, A2
  3498. 00002348  D6CC                     add.w      A3, A4
  3499. 0000234A  4843                     swap.w     D3
  3500. 0000234C  51CB FFCA                dbf        D3, -0x38 /* 00002318 */
  3501. 00002350  6000 009C                bra        +0x9E /* 000023EE */
  3502. label00002354:
  3503. 00002354  2F05                     move.l     -[A7], D5
  3504. 00002356  5347                     subq.w     D7, 1
  3505. 00002358  6644                     bne        +0x46 /* 0000239E */
  3506. label0000235A:
  3507. 0000235A  4CD1 00B2                movem.l    D1,D4,D5,D7, [A1]
  3508. 0000235E  4843                     swap.w     D3
  3509. 00002360  E6B9                     ror        D1, D3
  3510. 00002362  E6BC                     ror        D4, D3
  3511. 00002364  E6BD                     ror        D5, D3
  3512. 00002366  E6BF                     ror        D7, D3
  3513. 00002368  BB87                     xor.l      D7, D5
  3514. 0000236A  CE82                     and.l      D7, D2
  3515. 0000236C  BB87                     xor.l      D7, D5
  3516. 0000236E  B985                     xor.l      D5, D4
  3517. 00002370  CA82                     and.l      D5, D2
  3518. 00002372  B985                     xor.l      D5, D4
  3519. 00002374  B384                     xor.l      D4, D1
  3520. 00002376  C882                     and.l      D4, D2
  3521. 00002378  B384                     xor.l      D4, D1
  3522. 0000237A  2013                     move.l     D0, [A3]
  3523. 0000237C  B181                     xor.l      D1, D0
  3524. 0000237E  C297                     and.l      D1, [A7]
  3525. 00002380  B181                     xor.l      D1, D0
  3526. 00002382  202B 000C                move.l     D0, [A3 + 0xC]
  3527. 00002386  B187                     xor.l      D7, D0
  3528. 00002388  CE86                     and.l      D7, D6
  3529. 0000238A  B187                     xor.l      D7, D0
  3530. 0000238C  48D3 00B2                movem.l    [A3], D1,D4,D5,D7
  3531. 00002390  D2CA                     add.w      A1, A2
  3532. 00002392  D6CC                     add.w      A3, A4
  3533. 00002394  4843                     swap.w     D3
  3534. 00002396  51CB FFC2                dbf        D3, -0x40 /* 0000235A */
  3535. 0000239A  584F                     addq.w     A7, 4
  3536. 0000239C  6050                     bra        +0x52 /* 000023EE */
  3537. label0000239E:
  3538. 0000239E  2D46 FFD4                move.l     [A6 - 0x2C], D6
  3539. label000023A2:
  3540. 000023A2  4CD1 00F2                movem.l    D1,D4,D5,D6,D7, [A1]
  3541. 000023A6  4843                     swap.w     D3
  3542. 000023A8  E6B9                     ror        D1, D3
  3543. 000023AA  E6BC                     ror        D4, D3
  3544. 000023AC  E6BD                     ror        D5, D3
  3545. 000023AE  E6BE                     ror        D6, D3
  3546. 000023B0  E6BF                     ror        D7, D3
  3547. 000023B2  BD87                     xor.l      D7, D6
  3548. 000023B4  CE82                     and.l      D7, D2
  3549. 000023B6  BD87                     xor.l      D7, D6
  3550. 000023B8  BB86                     xor.l      D6, D5
  3551. 000023BA  CC82                     and.l      D6, D2
  3552. 000023BC  BB86                     xor.l      D6, D5
  3553. 000023BE  B985                     xor.l      D5, D4
  3554. 000023C0  CA82                     and.l      D5, D2
  3555. 000023C2  B985                     xor.l      D5, D4
  3556. 000023C4  B384                     xor.l      D4, D1
  3557. 000023C6  C882                     and.l      D4, D2
  3558. 000023C8  B384                     xor.l      D4, D1
  3559. 000023CA  2013                     move.l     D0, [A3]
  3560. 000023CC  B181                     xor.l      D1, D0
  3561. 000023CE  C297                     and.l      D1, [A7]
  3562. 000023D0  B181                     xor.l      D1, D0
  3563. 000023D2  202B 0010                move.l     D0, [A3 + 0x10]
  3564. 000023D6  B187                     xor.l      D7, D0
  3565. 000023D8  CEAE FFD4                and.l      D7, [A6 - 0x2C]
  3566. 000023DC  B187                     xor.l      D7, D0
  3567. 000023DE  48D3 00F2                movem.l    [A3], D1,D4,D5,D6,D7
  3568. 000023E2  D2CA                     add.w      A1, A2
  3569. 000023E4  D6CC                     add.w      A3, A4
  3570. 000023E6  4843                     swap.w     D3
  3571. 000023E8  51CB FFB8                dbf        D3, -0x4A /* 000023A2 */
  3572. 000023EC  584F                     addq.w     A7, 4
  3573. label000023EE:
  3574. 000023EE  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  3575. 000023F2  4E5E                     unlink     A6
  3576. 000023F4  205F                     movea.l    A0, [A7]+
  3577. 000023F6  4FEF 0016                lea.l      A7, [A7 + 0x16]
  3578. 000023FA  4ED0                     jmp        [A0]
  3579. 000023FC  0000 8000                ori.b      D0, 0x0
  3580. 00002400  C000                     and.b      D0, D0
  3581. 00002402  E000                     asr        D0.b, 8
  3582. 00002404  F000 F800                .invalid   0xF000, 0xF800 // unimplemented
  3583. 00002408  FC00 FE00                .unknown   0xFC00 0xFE00 (W = 6)
  3584. 0000240C  FF00                     .extension 0xF00 <<F/4-5/7>> // unimplemented
  3585. 0000240E  FF80                     .invalid   <<F/6/7>>
  3586. 00002410  FFC0                     .invalid   <<F/7/7>>
  3587. 00002412  FFE0                     .invalid   <<F/7/7>>
  3588. 00002414  FFF0                     .invalid   <<F/7/7>>
  3589. 00002416  FFF8                     .invalid   <<F/7/7>>
  3590. 00002418  FFFC                     .invalid   <<F/7/7>>
  3591. 0000241A  FFFE                     .invalid   <<F/7/7>>
  3592. 0000241C  FFFF                     .invalid   <<F/7/7>>
  3593. export_41:
  3594. 0000241E  7000                     moveq.l    D0, 0x00
  3595. 00002420  6002                     bra        +0x4 /* 00002424 */
  3596. export_40:
  3597. 00002422  7001                     moveq.l    D0, 0x01
  3598. label00002424:
  3599. 00002424  4E56 FFE4                link       A6, -0x001C
  3600. 00002428  3D40 FFE4                move.w     [A6 - 0x1C], D0
  3601. 0000242C  48E7 1F38                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4
  3602. 00002430  206E 0008                movea.l    A0, [A6 + 0x8]
  3603. 00002434  2D58 FFF8                move.l     [A6 - 0x8], [A0]+
  3604. 00002438  2D58 FFFC                move.l     [A6 - 0x4], [A0]+
  3605. 0000243C  2055                     movea.l    A0, [A5]
  3606. 0000243E  2050                     movea.l    A0, [A0]
  3607. 00002440  2068 001C                movea.l    A0, [A0 + 0x1C]
  3608. 00002444  2050                     movea.l    A0, [A0]
  3609. 00002446  2D68 0002 FFF0           move.l     [A6 - 0x10], [A0 + 0x2]
  3610. 0000244C  2D68 0006 FFF4           move.l     [A6 - 0xC], [A0 + 0x6]
  3611. 00002452  2055                     movea.l    A0, [A5]
  3612. 00002454  2050                     movea.l    A0, [A0]
  3613. 00002456  41E8 0002                lea.l      A0, [A0 + 0x2]
  3614. 0000245A  3D7C 0001 FFE6           move.w     [A6 - 0x1A], 0x1
  3615. 00002460  3028 0004                move.w     D0, [A0 + 0x4]
  3616. 00002464  6A12                     bpl        +0x14 /* 00002478 */
  3617. 00002466  2050                     movea.l    A0, [A0]
  3618. 00002468  2050                     movea.l    A0, [A0]
  3619. 0000246A  3028 0004                move.w     D0, [A0 + 0x4]
  3620. 0000246E  0240 3FFF                andi.w     D0, 0x3FFF
  3621. 00002472  3D68 0020 FFE6           move.w     [A6 - 0x1A], [A0 + 0x20]
  3622. label00002478:
  3623. 00002478  2650                     movea.l    A3, [A0]
  3624. 0000247A  3840                     movea.w    A4, D0
  3625. 0000247C  2D68 0006 FFE8           move.l     [A6 - 0x18], [A0 + 0x6]
  3626. 00002482  2D68 000A FFEC           move.l     [A6 - 0x14], [A0 + 0xA]
  3627. 00002488  202E FFF0                move.l     D0, [A6 - 0x10]
  3628. 0000248C  B06E FFFA                cmp.w      D0, [A6 - 0x6]
  3629. 00002490  6F04                     ble        +0x6 /* 00002496 */
  3630. 00002492  3D40 FFFA                move.w     [A6 - 0x6], D0
  3631. label00002496:
  3632. 00002496  4840                     swap.w     D0
  3633. 00002498  B06E FFF8                cmp.w      D0, [A6 - 0x8]
  3634. 0000249C  6F04                     ble        +0x6 /* 000024A2 */
  3635. 0000249E  3D40 FFF8                move.w     [A6 - 0x8], D0
  3636. label000024A2:
  3637. 000024A2  202E FFF4                move.l     D0, [A6 - 0xC]
  3638. 000024A6  B06E FFFE                cmp.w      D0, [A6 - 0x2]
  3639. 000024AA  6C04                     bge        +0x6 /* 000024B0 */
  3640. 000024AC  3D40 FFFE                move.w     [A6 - 0x2], D0
  3641. label000024B0:
  3642. 000024B0  4840                     swap.w     D0
  3643. 000024B2  B06E FFFC                cmp.w      D0, [A6 - 0x4]
  3644. 000024B6  6C04                     bge        +0x6 /* 000024BC */
  3645. 000024B8  3D40 FFFC                move.w     [A6 - 0x4], D0
  3646. label000024BC:
  3647. 000024BC  302E FFFE                move.w     D0, [A6 - 0x2]
  3648. 000024C0  B06E FFFA                cmp.w      D0, [A6 - 0x6]
  3649. 000024C4  6F00 00CE                ble        +0xD0 /* 00002594 */
  3650. 000024C8  362E FFFC                move.w     D3, [A6 - 0x4]
  3651. 000024CC  966E FFF8                sub.w      D3, [A6 - 0x8]
  3652. 000024D0  6F00 00C2                ble        +0xC4 /* 00002594 */
  3653. 000024D4  5343                     subq.w     D3, 1
  3654. 000024D6  202E FFE8                move.l     D0, [A6 - 0x18]
  3655. 000024DA  916E FFFA                sub.w      [A6 - 0x6], D0
  3656. 000024DE  916E FFFE                sub.w      [A6 - 0x2], D0
  3657. 000024E2  4840                     swap.w     D0
  3658. 000024E4  916E FFF8                sub.w      [A6 - 0x8], D0
  3659. 000024E8  916E FFFC                sub.w      [A6 - 0x4], D0
  3660. 000024EC  302E FFE6                move.w     D0, [A6 - 0x1A]
  3661. 000024F0  0C40 0001                cmpi.w     D0, 0x1
  3662. 000024F4  6714                     beq        +0x16 /* 0000250A */
  3663. 000024F6  322E FFFA                move.w     D1, [A6 - 0x6]
  3664. 000024FA  C2C0                     mulu.w     D1, D0
  3665. 000024FC  3D41 FFFA                move.w     [A6 - 0x6], D1
  3666. 00002500  322E FFFE                move.w     D1, [A6 - 0x2]
  3667. 00002504  C2C0                     mulu.w     D1, D0
  3668. 00002506  3D41 FFFE                move.w     [A6 - 0x2], D1
  3669. label0000250A:
  3670. 0000250A  302E FFF8                move.w     D0, [A6 - 0x8]
  3671. 0000250E  320C                     move.w     D1, A4
  3672. 00002510  C0C1                     mulu.w     D0, D1
  3673. 00002512  D7C0                     add.l      A3, D0
  3674. 00002514  302E FFFA                move.w     D0, [A6 - 0x6]
  3675. 00002518  E840                     asr        D0.w, 4
  3676. 0000251A  E340                     asl        D0.w, 1
  3677. 0000251C  D6C0                     add.w      A3, D0
  3678. 0000251E  302E FFFA                move.w     D0, [A6 - 0x6]
  3679. 00002522  0240 FFF0                andi.w     D0, 0xFFF0
  3680. 00002526  3E2E FFFE                move.w     D7, [A6 - 0x2]
  3681. 0000252A  0647 001F                addi.w     D7, 0x1F
  3682. 0000252E  9E40                     sub.w      D7, D0
  3683. 00002530  EA4F                     lsr        D7.w, 5
  3684. 00002532  3A2E FFFA                move.w     D5, [A6 - 0x6]
  3685. 00002536  0245 000F                andi.w     D5, 0xF
  3686. 0000253A  E34D                     lsl        D5.w, 1
  3687. 0000253C  41FA 0196                lea.l      A0, [PC + 0x196 /* 000026D4, value 0x8000, cstring "" */]
  3688. 00002540  3A30 5000                move.w     D5, [A0 + D5.w]
  3689. 00002544  4645                     not.w      D5
  3690. 00002546  4845                     swap.w     D5
  3691. 00002548  3A3C FFFF                move.w     D5, 0xFFFF
  3692. 0000254C  7C00                     moveq.l    D6, 0x00
  3693. 0000254E  3C2E FFFE                move.w     D6, [A6 - 0x2]
  3694. 00002552  302E FFFA                move.w     D0, [A6 - 0x6]
  3695. 00002556  0240 FFF0                andi.w     D0, 0xFFF0
  3696. 0000255A  9C40                     sub.w      D6, D0
  3697. 0000255C  5346                     subq.w     D6, 1
  3698. 0000255E  0806 0004                btst.b     D6, 0x4
  3699. 00002562  6706                     beq        +0x8 /* 0000256A */
  3700. 00002564  4846                     swap.w     D6
  3701. 00002566  5346                     subq.w     D6, 1
  3702. 00002568  4846                     swap.w     D6
  3703. label0000256A:
  3704. 0000256A  0246 000F                andi.w     D6, 0xF
  3705. 0000256E  E34E                     lsl        D6.w, 1
  3706. 00002570  41FA 0164                lea.l      A0, [PC + 0x164 /* 000026D6, value 0x8000C000 */]
  3707. 00002574  3C30 6000                move.w     D6, [A0 + D6.w]
  3708. 00002578  4A86                     tst.l      D6
  3709. 0000257A  6B02                     bmi        +0x4 /* 0000257E */
  3710. 0000257C  4846                     swap.w     D6
  3711. label0000257E:
  3712. 0000257E  3007                     move.w     D0, D7
  3713. 00002580  E548                     lsl        D0.w, 2
  3714. 00002582  98C0                     sub.w      A4, D0
  3715. 00002584  4A6E FFE4                tst.w      [A6 - 0x1C]
  3716. 00002588  6706                     beq        +0x8 /* 00002590 */
  3717. 0000258A  4EBA 00B0                jsr        [PC + 0xB0 /* 0000263C */]
  3718. 0000258E  6004                     bra        +0x6 /* 00002594 */
  3719. label00002590:
  3720. 00002590  4EBA 000E                jsr        [PC + 0xE /* 000025A0 */]
  3721. label00002594:
  3722. 00002594  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  3723. 00002598  4E5E                     unlink     A6
  3724. 0000259A  205F                     movea.l    A0, [A7]+
  3725. 0000259C  584F                     addq.w     A7, 4
  3726. 0000259E  4ED0                     jmp        [A0]
  3727. fn000025A0:
  3728. 000025A0  5347                     subq.w     D7, 1
  3729. 000025A2  6610                     bne        +0x12 /* 000025B4 */
  3730. 000025A4  CA86                     and.l      D5, D6
  3731. 000025A6  4685                     not.l      D5
  3732. label000025A8:
  3733. 000025A8  CB9B                     and.l      [A3]+, D5
  3734. 000025AA  D6CC                     add.w      A3, A4
  3735. 000025AC  51CB FFFA                dbf        D3, -0x8 /* 000025A8 */
  3736. 000025B0  6000 0088                bra        +0x8A /* 0000263A */
  3737. label000025B4:
  3738. 000025B4  4685                     not.l      D5
  3739. 000025B6  4686                     not.l      D6
  3740. 000025B8  0C47 0001                cmpi.w     D7, 0x1
  3741. 000025BC  660C                     bne        +0xE /* 000025CA */
  3742. label000025BE:
  3743. 000025BE  CB9B                     and.l      [A3]+, D5
  3744. 000025C0  CD9B                     and.l      [A3]+, D6
  3745. 000025C2  D6CC                     add.w      A3, A4
  3746. 000025C4  51CB FFF8                dbf        D3, -0xA /* 000025BE */
  3747. 000025C8  6070                     bra        +0x72 /* 0000263A */
  3748. label000025CA:
  3749. 000025CA  5547                     subq.w     D7, 2
  3750. 000025CC  660E                     bne        +0x10 /* 000025DC */
  3751. label000025CE:
  3752. 000025CE  CB9B                     and.l      [A3]+, D5
  3753. 000025D0  429B                     clr.l      [A3]+
  3754. 000025D2  CD9B                     and.l      [A3]+, D6
  3755. 000025D4  D6CC                     add.w      A3, A4
  3756. 000025D6  51CB FFF6                dbf        D3, -0xC /* 000025CE */
  3757. 000025DA  605E                     bra        +0x60 /* 0000263A */
  3758. label000025DC:
  3759. 000025DC  0C47 0015                cmpi.w     D7, 0x15
  3760. 000025E0  6E46                     bgt        +0x48 /* 00002628 */
  3761. 000025E2  0447 0015                subi.w     D7, 0x15
  3762. 000025E6  4447                     neg.w      D7
  3763. 000025E8  DE47                     add.w      D7, D7
  3764. 000025EA  41FB 7006                lea.l      A0, [PC + D7.w + 0x6]
  3765. label000025EE:
  3766. 000025EE  CB9B                     and.l      [A3]+, D5
  3767. 000025F0  4ED0                     jmp        [A0]
  3768. 000025F2  429B                     clr.l      [A3]+
  3769. 000025F4  429B                     clr.l      [A3]+
  3770. 000025F6  429B                     clr.l      [A3]+
  3771. 000025F8  429B                     clr.l      [A3]+
  3772. 000025FA  429B                     clr.l      [A3]+
  3773. 000025FC  429B                     clr.l      [A3]+
  3774. 000025FE  429B                     clr.l      [A3]+
  3775. 00002600  429B                     clr.l      [A3]+
  3776. 00002602  429B                     clr.l      [A3]+
  3777. 00002604  429B                     clr.l      [A3]+
  3778. 00002606  429B                     clr.l      [A3]+
  3779. 00002608  429B                     clr.l      [A3]+
  3780. 0000260A  429B                     clr.l      [A3]+
  3781. 0000260C  429B                     clr.l      [A3]+
  3782. 0000260E  429B                     clr.l      [A3]+
  3783. 00002610  429B                     clr.l      [A3]+
  3784. 00002612  429B                     clr.l      [A3]+
  3785. 00002614  429B                     clr.l      [A3]+
  3786. 00002616  429B                     clr.l      [A3]+
  3787. 00002618  429B                     clr.l      [A3]+
  3788. 0000261A  429B                     clr.l      [A3]+
  3789. 0000261C  429B                     clr.l      [A3]+
  3790. 0000261E  CD9B                     and.l      [A3]+, D6
  3791. 00002620  D6CC                     add.w      A3, A4
  3792. 00002622  51CB FFCA                dbf        D3, -0x38 /* 000025EE */
  3793. 00002626  6012                     bra        +0x14 /* 0000263A */
  3794. label00002628:
  3795. 00002628  CB9B                     and.l      [A3]+, D5
  3796. 0000262A  3207                     move.w     D1, D7
  3797. label0000262C:
  3798. 0000262C  429B                     clr.l      [A3]+
  3799. 0000262E  51C9 FFFC                dbf        D1, -0x6 /* 0000262C */
  3800. 00002632  CD9B                     and.l      [A3]+, D6
  3801. 00002634  D6CC                     add.w      A3, A4
  3802. 00002636  51CB FFF0                dbf        D3, -0x12 /* 00002628 */
  3803. label0000263A:
  3804. 0000263A  4E75                     rts
  3805. fn0000263C:
  3806. 0000263C  5347                     subq.w     D7, 1
  3807. 0000263E  660E                     bne        +0x10 /* 0000264E */
  3808. 00002640  CA86                     and.l      D5, D6
  3809. label00002642:
  3810. 00002642  8B9B                     or.l       [A3]+, D5
  3811. 00002644  D6CC                     add.w      A3, A4
  3812. 00002646  51CB FFFA                dbf        D3, -0x8 /* 00002642 */
  3813. 0000264A  6000 0086                bra        +0x88 /* 000026D2 */
  3814. label0000264E:
  3815. 0000264E  0C47 0001                cmpi.w     D7, 0x1
  3816. 00002652  660C                     bne        +0xE /* 00002660 */
  3817. label00002654:
  3818. 00002654  8B9B                     or.l       [A3]+, D5
  3819. 00002656  8D9B                     or.l       [A3]+, D6
  3820. 00002658  D6CC                     add.w      A3, A4
  3821. 0000265A  51CB FFF8                dbf        D3, -0xA /* 00002654 */
  3822. 0000265E  6072                     bra        +0x74 /* 000026D2 */
  3823. label00002660:
  3824. 00002660  70FF                     moveq.l    D0, 0xFFFFFFFF
  3825. 00002662  5547                     subq.w     D7, 2
  3826. 00002664  660E                     bne        +0x10 /* 00002674 */
  3827. label00002666:
  3828. 00002666  8B9B                     or.l       [A3]+, D5
  3829. 00002668  26C0                     move.l     [A3]+, D0
  3830. 0000266A  8D9B                     or.l       [A3]+, D6
  3831. 0000266C  D6CC                     add.w      A3, A4
  3832. 0000266E  51CB FFF6                dbf        D3, -0xC /* 00002666 */
  3833. 00002672  605E                     bra        +0x60 /* 000026D2 */
  3834. label00002674:
  3835. 00002674  0C47 0015                cmpi.w     D7, 0x15
  3836. 00002678  6E46                     bgt        +0x48 /* 000026C0 */
  3837. 0000267A  0447 0015                subi.w     D7, 0x15
  3838. 0000267E  4447                     neg.w      D7
  3839. 00002680  DE47                     add.w      D7, D7
  3840. 00002682  41FB 7006                lea.l      A0, [PC + D7.w + 0x6]
  3841. label00002686:
  3842. 00002686  8B9B                     or.l       [A3]+, D5
  3843. 00002688  4ED0                     jmp        [A0]
  3844. 0000268A  26C0                     move.l     [A3]+, D0
  3845. 0000268C  26C0                     move.l     [A3]+, D0
  3846. 0000268E  26C0                     move.l     [A3]+, D0
  3847. 00002690  26C0                     move.l     [A3]+, D0
  3848. 00002692  26C0                     move.l     [A3]+, D0
  3849. 00002694  26C0                     move.l     [A3]+, D0
  3850. 00002696  26C0                     move.l     [A3]+, D0
  3851. 00002698  26C0                     move.l     [A3]+, D0
  3852. 0000269A  26C0                     move.l     [A3]+, D0
  3853. 0000269C  26C0                     move.l     [A3]+, D0
  3854. 0000269E  26C0                     move.l     [A3]+, D0
  3855. 000026A0  26C0                     move.l     [A3]+, D0
  3856. 000026A2  26C0                     move.l     [A3]+, D0
  3857. 000026A4  26C0                     move.l     [A3]+, D0
  3858. 000026A6  26C0                     move.l     [A3]+, D0
  3859. 000026A8  26C0                     move.l     [A3]+, D0
  3860. 000026AA  26C0                     move.l     [A3]+, D0
  3861. 000026AC  26C0                     move.l     [A3]+, D0
  3862. 000026AE  26C0                     move.l     [A3]+, D0
  3863. 000026B0  26C0                     move.l     [A3]+, D0
  3864. 000026B2  26C0                     move.l     [A3]+, D0
  3865. 000026B4  26C0                     move.l     [A3]+, D0
  3866. 000026B6  8D9B                     or.l       [A3]+, D6
  3867. 000026B8  D6CC                     add.w      A3, A4
  3868. 000026BA  51CB FFCA                dbf        D3, -0x38 /* 00002686 */
  3869. 000026BE  6012                     bra        +0x14 /* 000026D2 */
  3870. label000026C0:
  3871. 000026C0  8B9B                     or.l       [A3]+, D5
  3872. 000026C2  3207                     move.w     D1, D7
  3873. label000026C4:
  3874. 000026C4  26C0                     move.l     [A3]+, D0
  3875. 000026C6  51C9 FFFC                dbf        D1, -0x6 /* 000026C4 */
  3876. 000026CA  8D9B                     or.l       [A3]+, D6
  3877. 000026CC  D6CC                     add.w      A3, A4
  3878. 000026CE  51CB FFF0                dbf        D3, -0x12 /* 000026C0 */
  3879. label000026D2:
  3880. 000026D2  4E75                     rts
  3881. 000026D4  0000 8000                ori.b      D0, 0x0
  3882. 000026D8  C000                     and.b      D0, D0
  3883. 000026DA  E000                     asr        D0.b, 8
  3884. 000026DC  F000 F800                .invalid   0xF000, 0xF800 // unimplemented
  3885. 000026E0  FC00 FE00                .unknown   0xFC00 0xFE00 (W = 6)
  3886. 000026E4  FF00                     .extension 0xF00 <<F/4-5/7>> // unimplemented
  3887. 000026E6  FF80                     .invalid   <<F/6/7>>
  3888. 000026E8  FFC0                     .invalid   <<F/7/7>>
  3889. 000026EA  FFE0                     .invalid   <<F/7/7>>
  3890. 000026EC  FFF0                     .invalid   <<F/7/7>>
  3891. 000026EE  FFF8                     .invalid   <<F/7/7>>
  3892. 000026F0  FFFC                     .invalid   <<F/7/7>>
  3893. 000026F2  FFFE                     .invalid   <<F/7/7>>
  3894. 000026F4  FFFF                     .invalid   <<F/7/7>>
  3895. export_42:
  3896. 000026F6  4E56 0000                link       A6, 0
  3897. 000026FA  48E7 0700                movem.l    -[A7], D5,D6,D7
  3898. 000026FE  2A2E 0008                move.l     D5, [A6 + 0x8]
  3899. 00002702  2F05                     move.l     -[A7], D5
  3900. 00002704  4EBA 0274                jsr        [PC + 0x274 /* 0000297A */]
  3901. 00002708  3C00                     move.w     D6, D0
  3902. 0000270A  0C46 FFFF                cmpi.w     D6, 0xFFFF
  3903. 0000270E  584F                     addq.w     A7, 4
  3904. 00002710  6604                     bne        +0x6 /* 00002716 */
  3905. 00002712  70FF                     moveq.l    D0, 0xFFFFFFFF
  3906. 00002714  607E                     bra        +0x80 /* 00002794 */
  3907. label00002716:
  3908. 00002716  0C46 0009                cmpi.w     D6, 0x9 /* '\t' */
  3909. 0000271A  6C2E                     bge        +0x30 /* 0000274A */
  3910. 0000271C  7E09                     moveq.l    D7, 0x09
  3911. 0000271E  6026                     bra        +0x28 /* 00002746 */
  3912. label00002720:
  3913. 00002720  48C7                     ext.l      D7
  3914. 00002722  2007                     move.l     D0, D7
  3915. 00002724  5380                     subq.l     D0, 1
  3916. 00002726  EB80                     asl        D0, 5
  3917. 00002728  41ED DEF2                lea.l      A0, [A5 - 0x210E]
  3918. 0000272C  48C7                     ext.l      D7
  3919. 0000272E  2207                     move.l     D1, D7
  3920. 00002730  EB81                     asl        D1, 5
  3921. 00002732  43ED DEF2                lea.l      A1, [A5 - 0x210E]
  3922. 00002736  D3C1                     add.l      A1, D1
  3923. 00002738  D1C0                     add.l      A0, D0
  3924. 0000273A  7007                     moveq.l    D0, 0x07
  3925. label0000273C:
  3926. 0000273C  22D8                     move.l     [A1]+, [A0]+
  3927. 0000273E  51C8 FFFC                dbf        D0, -0x6 /* 0000273C */
  3928. 00002742  3007                     move.w     D0, D7
  3929. 00002744  5347                     subq.w     D7, 1
  3930. label00002746:
  3931. 00002746  BC47                     cmp.w      D6, D7
  3932. 00002748  6DD6                     blt        -0x28 /* 00002720 */
  3933. label0000274A:
  3934. 0000274A  48C6                     ext.l      D6
  3935. 0000274C  2006                     move.l     D0, D6
  3936. 0000274E  EB80                     asl        D0, 5
  3937. 00002750  41ED DEF2                lea.l      A0, [A5 - 0x210E]
  3938. 00002754  2185 081C                move.l     [A0 + D0 + 0x1C], D5
  3939. 00002758  48C6                     ext.l      D6
  3940. 0000275A  2006                     move.l     D0, D6
  3941. 0000275C  EB80                     asl        D0, 5
  3942. 0000275E  41ED DEF2                lea.l      A0, [A5 - 0x210E]
  3943. 00002762  31AE 000E 081A           move.w     [A0 + D0 + 0x1A], [A6 + 0xE]
  3944. 00002768  48C6                     ext.l      D6
  3945. 0000276A  2006                     move.l     D0, D6
  3946. 0000276C  EB80                     asl        D0, 5
  3947. 0000276E  41ED DEF2                lea.l      A0, [A5 - 0x210E]
  3948. 00002772  4870 0800                pea.l      [A0 + D0]
  3949. 00002776  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  3950. 0000277A  4EBA DDC4                jsr        [PC - 0x223C /* 00000540 */]
  3951. 0000277E  302D DEEC                move.w     D0, [A5 - 0x2114]
  3952. 00002782  B06D DEEE                cmp.w      D0, [A5 - 0x2112]
  3953. 00002786  504F                     addq.w     A7, 8
  3954. 00002788  6C08                     bge        +0xA /* 00002792 */
  3955. 0000278A  302D DEEC                move.w     D0, [A5 - 0x2114]
  3956. 0000278E  526D DEEC                addq.w     [A5 - 0x2114], 1
  3957. label00002792:
  3958. 00002792  3006                     move.w     D0, D6
  3959. label00002794:
  3960. 00002794  4CEE 00E0 FFF4           movem.l    D5,D6,D7, [A6 - 0xC]
  3961. 0000279A  4E5E                     unlink     A6
  3962. 0000279C  4E75                     rts
  3963. export_43:
  3964. 0000279E  4E56 0000                link       A6, 0
  3965. 000027A2  486D DEEC                pea.l      [A5 - 0x2114]
  3966. 000027A6  302D E032                move.w     D0, [A5 - 0x1FCE]
  3967. 000027AA  48C0                     ext.l      D0
  3968. 000027AC  2F00                     move.l     -[A7], D0
  3969. 000027AE  4EBA E9AE                jsr        [PC - 0x1652 /* 0000115E */]
  3970. 000027B2  4EBA E59A                jsr        [PC - 0x1A66 /* 00000D4E */]
  3971. 000027B6  4E5E                     unlink     A6
  3972. 000027B8  4E75                     rts
  3973. export_44:
  3974. fn000027BA:
  3975. 000027BA  4E56 0000                link       A6, 0
  3976. 000027BE  2F07                     move.l     -[A7], D7
  3977. 000027C0  3E2E 000A                move.w     D7, [A6 + 0xA]
  3978. 000027C4  3B47 E032                move.w     [A5 - 0x1FCE], D7
  3979. 000027C8  486D DEEC                pea.l      [A5 - 0x2114]
  3980. 000027CC  48C7                     ext.l      D7
  3981. 000027CE  2F07                     move.l     -[A7], D7
  3982. 000027D0  4EBA E608                jsr        [PC - 0x19F8 /* 00000DDA */]
  3983. 000027D4  2E2E FFFC                move.l     D7, [A6 - 0x4]
  3984. 000027D8  4E5E                     unlink     A6
  3985. 000027DA  4E75                     rts
  3986. fn000027DC:
  3987. 000027DC  4E56 0000                link       A6, 0
  3988. 000027E0  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  3989. 000027E4  3A2E 0012                move.w     D5, [A6 + 0x12]
  3990. 000027E8  2C2E 000C                move.l     D6, [A6 + 0xC]
  3991. 000027EC  286E 0008                movea.l    A4, [A6 + 0x8]
  3992. 000027F0  4247                     clr.w      D7
  3993. 000027F2  6042                     bra        +0x44 /* 00002836 */
  3994. label000027F4:
  3995. 000027F4  48C7                     ext.l      D7
  3996. 000027F6  2007                     move.l     D0, D7
  3997. 000027F8  EB80                     asl        D0, 5
  3998. 000027FA  41ED DEF2                lea.l      A0, [A5 - 0x210E]
  3999. 000027FE  4870 0800                pea.l      [A0 + D0]
  4000. 00002802  2F0C                     move.l     -[A7], A4
  4001. 00002804  4EBA 01C4                jsr        [PC + 0x1C4 /* 000029CA */]
  4002. 00002808  4A40                     tst.w      D0
  4003. 0000280A  504F                     addq.w     A7, 8
  4004. 0000280C  6624                     bne        +0x26 /* 00002832 */
  4005. 0000280E  48C7                     ext.l      D7
  4006. 00002810  2007                     move.l     D0, D7
  4007. 00002812  EB80                     asl        D0, 5
  4008. 00002814  41ED DEF2                lea.l      A0, [A5 - 0x210E]
  4009. 00002818  BCB0 081C                cmp.l      D6, [A0 + D0 + 0x1C]
  4010. 0000281C  6614                     bne        +0x16 /* 00002832 */
  4011. 0000281E  48C7                     ext.l      D7
  4012. 00002820  2007                     move.l     D0, D7
  4013. 00002822  EB80                     asl        D0, 5
  4014. 00002824  41ED DEF2                lea.l      A0, [A5 - 0x210E]
  4015. 00002828  BA70 081A                cmp.w      D5, [A0 + D0 + 0x1A]
  4016. 0000282C  6604                     bne        +0x6 /* 00002832 */
  4017. 0000282E  3007                     move.w     D0, D7
  4018. 00002830  600C                     bra        +0xE /* 0000283E */
  4019. label00002832:
  4020. 00002832  3007                     move.w     D0, D7
  4021. 00002834  5247                     addq.w     D7, 1
  4022. label00002836:
  4023. 00002836  BE6D DEEC                cmp.w      D7, [A5 - 0x2114]
  4024. 0000283A  6DB8                     blt        -0x46 /* 000027F4 */
  4025. 0000283C  70FF                     moveq.l    D0, 0xFFFFFFFF
  4026. label0000283E:
  4027. 0000283E  4CEE 10E0 FFF0           movem.l    D5,D6,D7,A4, [A6 - 0x10]
  4028. 00002844  4E5E                     unlink     A6
  4029. 00002846  4E75                     rts
  4030. export_45:
  4031. fn00002848:
  4032. 00002848  4E56 0000                link       A6, 0
  4033. 0000284C  48E7 0118                movem.l    -[A7], D7,A3,A4
  4034. 00002850  266E 0010                movea.l    A3, [A6 + 0x10]
  4035. 00002854  286E 000C                movea.l    A4, [A6 + 0xC]
  4036. 00002858  3E2E 000A                move.w     D7, [A6 + 0xA]
  4037. 0000285C  BE6D DEEC                cmp.w      D7, [A5 - 0x2114]
  4038. 00002860  6C36                     bge        +0x38 /* 00002898 */
  4039. 00002862  48C7                     ext.l      D7
  4040. 00002864  2007                     move.l     D0, D7
  4041. 00002866  EB80                     asl        D0, 5
  4042. 00002868  41ED DEF2                lea.l      A0, [A5 - 0x210E]
  4043. 0000286C  28B0 081C                move.l     [A4], [A0 + D0 + 0x1C]
  4044. 00002870  48C7                     ext.l      D7
  4045. 00002872  2007                     move.l     D0, D7
  4046. 00002874  EB80                     asl        D0, 5
  4047. 00002876  41ED DEF2                lea.l      A0, [A5 - 0x210E]
  4048. 0000287A  36B0 081A                move.w     [A3], [A0 + D0 + 0x1A]
  4049. 0000287E  2F2E 0014                move.l     -[A7], [A6 + 0x14]
  4050. 00002882  48C7                     ext.l      D7
  4051. 00002884  2007                     move.l     D0, D7
  4052. 00002886  EB80                     asl        D0, 5
  4053. 00002888  41ED DEF2                lea.l      A0, [A5 - 0x210E]
  4054. 0000288C  4870 0800                pea.l      [A0 + D0]
  4055. 00002890  4EBA DCAE                jsr        [PC - 0x2352 /* 00000540 */]
  4056. 00002894  504F                     addq.w     A7, 8
  4057. 00002896  600C                     bra        +0xE /* 000028A4 */
  4058. label00002898:
  4059. 00002898  7000                     moveq.l    D0, 0x00
  4060. 0000289A  2880                     move.l     [A4], D0
  4061. 0000289C  4253                     clr.w      [A3]
  4062. 0000289E  206E 0014                movea.l    A0, [A6 + 0x14]
  4063. 000028A2  4210                     clr.b      [A0]
  4064. label000028A4:
  4065. 000028A4  4CEE 1880 FFF4           movem.l    D7,A3,A4, [A6 - 0xC]
  4066. 000028AA  4E5E                     unlink     A6
  4067. 000028AC  4E75                     rts
  4068. export_46:
  4069. fn000028AE:
  4070. 000028AE  4E56 0000                link       A6, 0
  4071. 000028B2  302D DEEC                move.w     D0, [A5 - 0x2114]
  4072. 000028B6  4E5E                     unlink     A6
  4073. 000028B8  4E75                     rts
  4074. export_47:
  4075. 000028BA  4E56 0000                link       A6, 0
  4076. 000028BE  4EBA E6D6                jsr        [PC - 0x192A /* 00000F96 */]
  4077. 000028C2  486D DEEC                pea.l      [A5 - 0x2114]
  4078. 000028C6  302E 000A                move.w     D0, [A6 + 0xA]
  4079. 000028CA  48C0                     ext.l      D0
  4080. 000028CC  2F00                     move.l     -[A7], D0
  4081. 000028CE  4EBA E714                jsr        [PC - 0x18EC /* 00000FE4 */]
  4082. 000028D2  4E5E                     unlink     A6
  4083. 000028D4  4E75                     rts
  4084. fn000028D6:
  4085. 000028D6  4E56 0000                link       A6, 0
  4086. 000028DA  48E7 0300                movem.l    -[A7], D6,D7
  4087. 000028DE  3C2E 000A                move.w     D6, [A6 + 0xA]
  4088. 000028E2  6D54                     blt        +0x56 /* 00002938 */
  4089. 000028E4  48C6                     ext.l      D6
  4090. 000028E6  302D DEEC                move.w     D0, [A5 - 0x2114]
  4091. 000028EA  48C0                     ext.l      D0
  4092. 000028EC  5380                     subq.l     D0, 1
  4093. 000028EE  B086                     cmp.l      D0, D6
  4094. 000028F0  6D46                     blt        +0x48 /* 00002938 */
  4095. 000028F2  48C6                     ext.l      D6
  4096. 000028F4  302D DEEC                move.w     D0, [A5 - 0x2114]
  4097. 000028F8  48C0                     ext.l      D0
  4098. 000028FA  5380                     subq.l     D0, 1
  4099. 000028FC  B086                     cmp.l      D0, D6
  4100. 000028FE  6F30                     ble        +0x32 /* 00002930 */
  4101. 00002900  3E06                     move.w     D7, D6
  4102. 00002902  6026                     bra        +0x28 /* 0000292A */
  4103. label00002904:
  4104. 00002904  48C7                     ext.l      D7
  4105. 00002906  2007                     move.l     D0, D7
  4106. 00002908  5280                     addq.l     D0, 1
  4107. 0000290A  EB80                     asl        D0, 5
  4108. 0000290C  41ED DEF2                lea.l      A0, [A5 - 0x210E]
  4109. 00002910  48C7                     ext.l      D7
  4110. 00002912  2207                     move.l     D1, D7
  4111. 00002914  EB81                     asl        D1, 5
  4112. 00002916  43ED DEF2                lea.l      A1, [A5 - 0x210E]
  4113. 0000291A  D3C1                     add.l      A1, D1
  4114. 0000291C  D1C0                     add.l      A0, D0
  4115. 0000291E  7007                     moveq.l    D0, 0x07
  4116. label00002920:
  4117. 00002920  22D8                     move.l     [A1]+, [A0]+
  4118. 00002922  51C8 FFFC                dbf        D0, -0x6 /* 00002920 */
  4119. 00002926  3007                     move.w     D0, D7
  4120. 00002928  5247                     addq.w     D7, 1
  4121. label0000292A:
  4122. 0000292A  BE6D DEEC                cmp.w      D7, [A5 - 0x2114]
  4123. 0000292E  6DD4                     blt        -0x2A /* 00002904 */
  4124. label00002930:
  4125. 00002930  302D DEEC                move.w     D0, [A5 - 0x2114]
  4126. 00002934  536D DEEC                subq.w     [A5 - 0x2114], 1
  4127. label00002938:
  4128. 00002938  4CEE 00C0 FFF8           movem.l    D6,D7, [A6 - 0x8]
  4129. 0000293E  4E5E                     unlink     A6
  4130. 00002940  4E75                     rts
  4131. export_48:
  4132. 00002942  4E56 0000                link       A6, 0
  4133. 00002946  2F07                     move.l     -[A7], D7
  4134. 00002948  302E 0012                move.w     D0, [A6 + 0x12]
  4135. 0000294C  48C0                     ext.l      D0
  4136. 0000294E  2F00                     move.l     -[A7], D0
  4137. 00002950  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  4138. 00002954  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  4139. 00002958  4EBA FE82                jsr        [PC - 0x17E /* 000027DC */]
  4140. 0000295C  3E00                     move.w     D7, D0
  4141. 0000295E  0C47 FFFF                cmpi.w     D7, 0xFFFF
  4142. 00002962  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4143. 00002966  670A                     beq        +0xC /* 00002972 */
  4144. 00002968  48C7                     ext.l      D7
  4145. 0000296A  2F07                     move.l     -[A7], D7
  4146. 0000296C  4EBA FF68                jsr        [PC - 0x98 /* 000028D6 */]
  4147. 00002970  584F                     addq.w     A7, 4
  4148. label00002972:
  4149. 00002972  2E2E FFFC                move.l     D7, [A6 - 0x4]
  4150. 00002976  4E5E                     unlink     A6
  4151. 00002978  4E75                     rts
  4152. export_49:
  4153. fn0000297A:
  4154. 0000297A  4E56 0000                link       A6, 0
  4155. 0000297E  48E7 0300                movem.l    -[A7], D6,D7
  4156. 00002982  2C2E 0008                move.l     D6, [A6 + 0x8]
  4157. 00002986  7032                     moveq.l    D0, 0x32
  4158. 00002988  B086                     cmp.l      D0, D6
  4159. 0000298A  6F04                     ble        +0x6 /* 00002990 */
  4160. 0000298C  70FF                     moveq.l    D0, 0xFFFFFFFF
  4161. 0000298E  6030                     bra        +0x32 /* 000029C0 */
  4162. label00002990:
  4163. 00002990  4247                     clr.w      D7
  4164. 00002992  6018                     bra        +0x1A /* 000029AC */
  4165. label00002994:
  4166. 00002994  48C7                     ext.l      D7
  4167. 00002996  2007                     move.l     D0, D7
  4168. 00002998  EB80                     asl        D0, 5
  4169. 0000299A  41ED DEF2                lea.l      A0, [A5 - 0x210E]
  4170. 0000299E  BCB0 081C                cmp.l      D6, [A0 + D0 + 0x1C]
  4171. 000029A2  6F04                     ble        +0x6 /* 000029A8 */
  4172. 000029A4  3007                     move.w     D0, D7
  4173. 000029A6  6018                     bra        +0x1A /* 000029C0 */
  4174. label000029A8:
  4175. 000029A8  3007                     move.w     D0, D7
  4176. 000029AA  5247                     addq.w     D7, 1
  4177. label000029AC:
  4178. 000029AC  BE6D DEEC                cmp.w      D7, [A5 - 0x2114]
  4179. 000029B0  6DE2                     blt        -0x1C /* 00002994 */
  4180. 000029B2  700A                     moveq.l    D0, 0x0A
  4181. 000029B4  B06D DEEC                cmp.w      D0, [A5 - 0x2114]
  4182. 000029B8  6F04                     ble        +0x6 /* 000029BE */
  4183. 000029BA  3007                     move.w     D0, D7
  4184. 000029BC  6002                     bra        +0x4 /* 000029C0 */
  4185. label000029BE:
  4186. 000029BE  70FF                     moveq.l    D0, 0xFFFFFFFF
  4187. label000029C0:
  4188. 000029C0  4CEE 00C0 FFF8           movem.l    D6,D7, [A6 - 0x8]
  4189. 000029C6  4E5E                     unlink     A6
  4190. 000029C8  4E75                     rts
  4191. fn000029CA:
  4192. 000029CA  4E56 0000                link       A6, 0
  4193. 000029CE  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  4194. 000029D2  266E 000C                movea.l    A3, [A6 + 0xC]
  4195. 000029D6  286E 0008                movea.l    A4, [A6 + 0x8]
  4196. 000029DA  7C00                     moveq.l    D6, 0x00
  4197. 000029DC  1C14                     move.b     D6, [A4]
  4198. 000029DE  7E00                     moveq.l    D7, 0x00
  4199. 000029E0  1E13                     move.b     D7, [A3]
  4200. 000029E2  BE46                     cmp.w      D7, D6
  4201. 000029E4  6704                     beq        +0x6 /* 000029EA */
  4202. 000029E6  70FF                     moveq.l    D0, 0xFFFFFFFF
  4203. 000029E8  601C                     bra        +0x1E /* 00002A06 */
  4204. label000029EA:
  4205. 000029EA  3E06                     move.w     D7, D6
  4206. 000029EC  6012                     bra        +0x14 /* 00002A00 */
  4207. label000029EE:
  4208. 000029EE  1034 7000                move.b     D0, [A4 + D7.w]
  4209. 000029F2  B033 7000                cmp.b      D0, [A3 + D7.w]
  4210. 000029F6  6704                     beq        +0x6 /* 000029FC */
  4211. 000029F8  70FF                     moveq.l    D0, 0xFFFFFFFF
  4212. 000029FA  600A                     bra        +0xC /* 00002A06 */
  4213. label000029FC:
  4214. 000029FC  3007                     move.w     D0, D7
  4215. 000029FE  5347                     subq.w     D7, 1
  4216. label00002A00:
  4217. 00002A00  4A47                     tst.w      D7
  4218. 00002A02  6EEA                     bgt        -0x14 /* 000029EE */
  4219. 00002A04  3007                     move.w     D0, D7
  4220. label00002A06:
  4221. 00002A06  4CEE 18C0 FFF0           movem.l    D6,D7,A3,A4, [A6 - 0x10]
  4222. 00002A0C  4E5E                     unlink     A6
  4223. 00002A0E  4E75                     rts
  4224. fn00002A10:
  4225. 00002A10  4E56 0000                link       A6, 0
  4226. 00002A14  2F07                     move.l     -[A7], D7
  4227. 00002A16  3E2E 000E                move.w     D7, [A6 + 0xE]
  4228. 00002A1A  302E 000A                move.w     D0, [A6 + 0xA]
  4229. 00002A1E  5340                     subq.w     D0, 1
  4230. 00002A20  674C                     beq        +0x4E /* 00002A6E */
  4231. 00002A22  5340                     subq.w     D0, 1
  4232. 00002A24  673A                     beq        +0x3C /* 00002A60 */
  4233. 00002A26  5340                     subq.w     D0, 1
  4234. 00002A28  6756                     beq        +0x58 /* 00002A80 */
  4235. 00002A2A  5340                     subq.w     D0, 1
  4236. 00002A2C  674C                     beq        +0x4E /* 00002A7A */
  4237. 00002A2E  5340                     subq.w     D0, 1
  4238. 00002A30  677E                     beq        +0x80 /* 00002AB0 */
  4239. 00002A32  5340                     subq.w     D0, 1
  4240. 00002A34  6750                     beq        +0x52 /* 00002A86 */
  4241. 00002A36  5340                     subq.w     D0, 1
  4242. 00002A38  6758                     beq        +0x5A /* 00002A92 */
  4243. 00002A3A  5340                     subq.w     D0, 1
  4244. 00002A3C  675A                     beq        +0x5C /* 00002A98 */
  4245. 00002A3E  5340                     subq.w     D0, 1
  4246. 00002A40  675C                     beq        +0x5E /* 00002A9E */
  4247. 00002A42  5340                     subq.w     D0, 1
  4248. 00002A44  675E                     beq        +0x60 /* 00002AA4 */
  4249. 00002A46  5340                     subq.w     D0, 1
  4250. 00002A48  6760                     beq        +0x62 /* 00002AAA */
  4251. 00002A4A  5340                     subq.w     D0, 1
  4252. 00002A4C  6768                     beq        +0x6A /* 00002AB6 */
  4253. 00002A4E  5340                     subq.w     D0, 1
  4254. 00002A50  6770                     beq        +0x72 /* 00002AC2 */
  4255. 00002A52  5340                     subq.w     D0, 1
  4256. 00002A54  677E                     beq        +0x80 /* 00002AD4 */
  4257. 00002A56  0440 0056                subi.w     D0, 0x56 /* 'V' */
  4258. 00002A5A  676C                     beq        +0x6E /* 00002AC8 */
  4259. 00002A5C  6000 0082                bra        +0x84 /* 00002AE0 */
  4260. label00002A60:
  4261. 00002A60  48C7                     ext.l      D7
  4262. 00002A62  2F07                     move.l     -[A7], D7
  4263. 00002A64  4EAD 040A                jsr        [A5 + 0x40A /* export_125 */]
  4264. 00002A68  584F                     addq.w     A7, 4
  4265. 00002A6A  6000 0084                bra        +0x86 /* 00002AF0 */
  4266. label00002A6E:
  4267. 00002A6E  48C7                     ext.l      D7
  4268. 00002A70  2F07                     move.l     -[A7], D7
  4269. 00002A72  4EAD 043A                jsr        [A5 + 0x43A /* export_131 */]
  4270. 00002A76  584F                     addq.w     A7, 4
  4271. 00002A78  6076                     bra        +0x78 /* 00002AF0 */
  4272. label00002A7A:
  4273. 00002A7A  4EAD 041A                jsr        [A5 + 0x41A /* export_127 */]
  4274. 00002A7E  6070                     bra        +0x72 /* 00002AF0 */
  4275. label00002A80:
  4276. 00002A80  4EAD 0422                jsr        [A5 + 0x422 /* export_128 */]
  4277. 00002A84  606A                     bra        +0x6C /* 00002AF0 */
  4278. label00002A86:
  4279. 00002A86  48C7                     ext.l      D7
  4280. 00002A88  2F07                     move.l     -[A7], D7
  4281. 00002A8A  4EAD 042A                jsr        [A5 + 0x42A /* export_129 */]
  4282. 00002A8E  584F                     addq.w     A7, 4
  4283. 00002A90  605E                     bra        +0x60 /* 00002AF0 */
  4284. label00002A92:
  4285. 00002A92  4EAD 04BA                jsr        [A5 + 0x4BA /* export_147 */]
  4286. 00002A96  6058                     bra        +0x5A /* 00002AF0 */
  4287. label00002A98:
  4288. 00002A98  4EAD 04C2                jsr        [A5 + 0x4C2 /* export_148 */]
  4289. 00002A9C  6052                     bra        +0x54 /* 00002AF0 */
  4290. label00002A9E:
  4291. 00002A9E  4EAD 04D2                jsr        [A5 + 0x4D2 /* export_150 */]
  4292. 00002AA2  604C                     bra        +0x4E /* 00002AF0 */
  4293. label00002AA4:
  4294. 00002AA4  4EAD 04CA                jsr        [A5 + 0x4CA /* export_149 */]
  4295. 00002AA8  6046                     bra        +0x48 /* 00002AF0 */
  4296. label00002AAA:
  4297. 00002AAA  4EAD 064A                jsr        [A5 + 0x64A /* export_197 */]
  4298. 00002AAE  6040                     bra        +0x42 /* 00002AF0 */
  4299. label00002AB0:
  4300. 00002AB0  4EAD 03EA                jsr        [A5 + 0x3EA /* export_121 */]
  4301. 00002AB4  603A                     bra        +0x3C /* 00002AF0 */
  4302. label00002AB6:
  4303. 00002AB6  48C7                     ext.l      D7
  4304. 00002AB8  2F07                     move.l     -[A7], D7
  4305. 00002ABA  4EBA 0D02                jsr        [PC + 0xD02 /* 000037BE */]
  4306. 00002ABE  584F                     addq.w     A7, 4
  4307. 00002AC0  602E                     bra        +0x30 /* 00002AF0 */
  4308. label00002AC2:
  4309. 00002AC2  4EAD 046A                jsr        [A5 + 0x46A /* export_137 */]
  4310. 00002AC6  6028                     bra        +0x2A /* 00002AF0 */
  4311. label00002AC8:
  4312. 00002AC8  48C7                     ext.l      D7
  4313. 00002ACA  2F07                     move.l     -[A7], D7
  4314. 00002ACC  4EBA 1814                jsr        [PC + 0x1814 /* 000042E2 */]
  4315. 00002AD0  584F                     addq.w     A7, 4
  4316. 00002AD2  601C                     bra        +0x1E /* 00002AF0 */
  4317. label00002AD4:
  4318. 00002AD4  48C7                     ext.l      D7
  4319. 00002AD6  2F07                     move.l     -[A7], D7
  4320. 00002AD8  4EAD 0402                jsr        [A5 + 0x402 /* export_124 */]
  4321. 00002ADC  584F                     addq.w     A7, 4
  4322. 00002ADE  6010                     bra        +0x12 /* 00002AF0 */
  4323. label00002AE0:
  4324. 00002AE0  486D E080                pea.l      [A5 - 0x1F80]
  4325. 00002AE4  2F3C FFFF EC78           move.l     -[A7], 0xFFFFEC78
  4326. 00002AEA  4EBA 04BA                jsr        [PC + 0x4BA /* 00002FA6 */]
  4327. 00002AEE  504F                     addq.w     A7, 8
  4328. label00002AF0:
  4329. 00002AF0  2E2E FFFC                move.l     D7, [A6 - 0x4]
  4330. 00002AF4  4E5E                     unlink     A6
  4331. 00002AF6  4E75                     rts
  4332. fn00002AF8:
  4333. 00002AF8  4E56 0000                link       A6, 0
  4334. 00002AFC  2F07                     move.l     -[A7], D7
  4335. 00002AFE  2E2E 0008                move.l     D7, [A6 + 0x8]
  4336. 00002B02  4A2D DB94                tst.b      [A5 - 0x246C]
  4337. 00002B06  6600 0140                bne        +0x142 /* 00002C48 */
  4338. 00002B0A  303C 0100                move.w     D0, 0x100
  4339. 00002B0E  C06E 000E                and.w      D0, [A6 + 0xE]
  4340. 00002B12  7200                     moveq.l    D1, 0x00
  4341. 00002B14  3200                     move.w     D1, D0
  4342. 00002B16  4A81                     tst.l      D1
  4343. 00002B18  6600 012E                bne        +0x130 /* 00002C48 */
  4344. 00002B1C  302D F01C                move.w     D0, [A5 - 0xFE4]
  4345. 00002B20  5340                     subq.w     D0, 1
  4346. 00002B22  6700 0124                beq        +0x126 /* 00002C48 */
  4347. 00002B26  5340                     subq.w     D0, 1
  4348. 00002B28  6700 011E                beq        +0x120 /* 00002C48 */
  4349. 00002B2C  5340                     subq.w     D0, 1
  4350. 00002B2E  6700 0118                beq        +0x11A /* 00002C48 */
  4351. 00002B32  5340                     subq.w     D0, 1
  4352. 00002B34  6714                     beq        +0x16 /* 00002B4A */
  4353. 00002B36  5340                     subq.w     D0, 1
  4354. 00002B38  6710                     beq        +0x12 /* 00002B4A */
  4355. 00002B3A  5340                     subq.w     D0, 1
  4356. 00002B3C  6700 0096                beq        +0x98 /* 00002BD4 */
  4357. 00002B40  5E40                     addq.w     D0, 7
  4358. 00002B42  6700 0104                beq        +0x106 /* 00002C48 */
  4359. 00002B46  6000 00F0                bra        +0xF2 /* 00002C38 */
  4360. label00002B4A:
  4361. 00002B4A  0287 0000 00FF           andi.l     D7, 0xFF
  4362. 00002B50  7061                     moveq.l    D0, 0x61
  4363. 00002B52  B087                     cmp.l      D0, D7
  4364. 00002B54  6E0E                     bgt        +0x10 /* 00002B64 */
  4365. 00002B56  707A                     moveq.l    D0, 0x7A
  4366. 00002B58  B087                     cmp.l      D0, D7
  4367. 00002B5A  6D08                     blt        +0xA /* 00002B64 */
  4368. 00002B5C  2007                     move.l     D0, D7
  4369. 00002B5E  7220                     moveq.l    D1, 0x20
  4370. 00002B60  9081                     sub.l      D0, D1
  4371. 00002B62  2E00                     move.l     D7, D0
  4372. label00002B64:
  4373. 00002B64  2007                     move.l     D0, D7
  4374. 00002B66  0480 0000 001C           subi.l     D0, 0x1C
  4375. 00002B6C  673E                     beq        +0x40 /* 00002BAC */
  4376. 00002B6E  5380                     subq.l     D0, 1
  4377. 00002B70  673E                     beq        +0x40 /* 00002BB0 */
  4378. 00002B72  5380                     subq.l     D0, 1
  4379. 00002B74  672E                     beq        +0x30 /* 00002BA4 */
  4380. 00002B76  5380                     subq.l     D0, 1
  4381. 00002B78  672E                     beq        +0x30 /* 00002BA8 */
  4382. 00002B7A  5380                     subq.l     D0, 1
  4383. 00002B7C  6736                     beq        +0x38 /* 00002BB4 */
  4384. 00002B7E  0480 0000 0021           subi.l     D0, 0x21 /* '!' */
  4385. 00002B84  671E                     beq        +0x20 /* 00002BA4 */
  4386. 00002B86  5180                     subq.l     D0, 8
  4387. 00002B88  671A                     beq        +0x1C /* 00002BA4 */
  4388. 00002B8A  5380                     subq.l     D0, 1
  4389. 00002B8C  671E                     beq        +0x20 /* 00002BAC */
  4390. 00002B8E  5380                     subq.l     D0, 1
  4391. 00002B90  671E                     beq        +0x20 /* 00002BB0 */
  4392. 00002B92  5580                     subq.l     D0, 2
  4393. 00002B94  6712                     beq        +0x14 /* 00002BA8 */
  4394. 00002B96  0480 0000 0009           subi.l     D0, 0x9 /* '\t' */
  4395. 00002B9C  671A                     beq        +0x1C /* 00002BB8 */
  4396. 00002B9E  5980                     subq.l     D0, 4
  4397. 00002BA0  6706                     beq        +0x8 /* 00002BA8 */
  4398. 00002BA2  601C                     bra        +0x1E /* 00002BC0 */
  4399. label00002BA4:
  4400. 00002BA4  7E49                     moveq.l    D7, 0x49
  4401. 00002BA6  601A                     bra        +0x1C /* 00002BC2 */
  4402. label00002BA8:
  4403. 00002BA8  7E4D                     moveq.l    D7, 0x4D
  4404. 00002BAA  6016                     bra        +0x18 /* 00002BC2 */
  4405. label00002BAC:
  4406. 00002BAC  7E4A                     moveq.l    D7, 0x4A
  4407. 00002BAE  6012                     bra        +0x14 /* 00002BC2 */
  4408. label00002BB0:
  4409. 00002BB0  7E4B                     moveq.l    D7, 0x4B
  4410. 00002BB2  600E                     bra        +0x10 /* 00002BC2 */
  4411. label00002BB4:
  4412. 00002BB4  7E20                     moveq.l    D7, 0x20
  4413. 00002BB6  600A                     bra        +0xC /* 00002BC2 */
  4414. label00002BB8:
  4415. 00002BB8  4EAD 03E2                jsr        [A5 + 0x3E2 /* export_120 */]
  4416. 00002BBC  7E00                     moveq.l    D7, 0x00
  4417. 00002BBE  6002                     bra        +0x4 /* 00002BC2 */
  4418. label00002BC0:
  4419. 00002BC0  7E00                     moveq.l    D7, 0x00
  4420. label00002BC2:
  4421. 00002BC2  4A87                     tst.l      D7
  4422. 00002BC4  6700 0082                beq        +0x84 /* 00002C48 */
  4423. 00002BC8  A856                     syscall    ObscureCursor
  4424. 00002BCA  2F07                     move.l     -[A7], D7
  4425. 00002BCC  4EBA 06EE                jsr        [PC + 0x6EE /* 000032BC */]
  4426. 00002BD0  584F                     addq.w     A7, 4
  4427. 00002BD2  6074                     bra        +0x76 /* 00002C48 */
  4428. label00002BD4:
  4429. 00002BD4  0287 0000 00FF           andi.l     D7, 0xFF
  4430. 00002BDA  7061                     moveq.l    D0, 0x61
  4431. 00002BDC  B087                     cmp.l      D0, D7
  4432. 00002BDE  6E0E                     bgt        +0x10 /* 00002BEE */
  4433. 00002BE0  707A                     moveq.l    D0, 0x7A
  4434. 00002BE2  B087                     cmp.l      D0, D7
  4435. 00002BE4  6D08                     blt        +0xA /* 00002BEE */
  4436. 00002BE6  2007                     move.l     D0, D7
  4437. 00002BE8  7220                     moveq.l    D1, 0x20
  4438. 00002BEA  9081                     sub.l      D0, D1
  4439. 00002BEC  2E00                     move.l     D7, D0
  4440. label00002BEE:
  4441. 00002BEE  2007                     move.l     D0, D7
  4442. 00002BF0  0480 0000 001C           subi.l     D0, 0x1C
  4443. 00002BF6  6716                     beq        +0x18 /* 00002C0E */
  4444. 00002BF8  5380                     subq.l     D0, 1
  4445. 00002BFA  6716                     beq        +0x18 /* 00002C12 */
  4446. 00002BFC  5780                     subq.l     D0, 3
  4447. 00002BFE  6716                     beq        +0x18 /* 00002C16 */
  4448. 00002C00  0480 0000 002A           subi.l     D0, 0x2A /* '*' */
  4449. 00002C06  6706                     beq        +0x8 /* 00002C0E */
  4450. 00002C08  5380                     subq.l     D0, 1
  4451. 00002C0A  6706                     beq        +0x8 /* 00002C12 */
  4452. 00002C0C  601A                     bra        +0x1C /* 00002C28 */
  4453. label00002C0E:
  4454. 00002C0E  7E4A                     moveq.l    D7, 0x4A
  4455. 00002C10  6016                     bra        +0x18 /* 00002C28 */
  4456. label00002C12:
  4457. 00002C12  7E4B                     moveq.l    D7, 0x4B
  4458. 00002C14  6012                     bra        +0x14 /* 00002C28 */
  4459. label00002C16:
  4460. 00002C16  7001                     moveq.l    D0, 0x01
  4461. 00002C18  2F00                     move.l     -[A7], D0
  4462. 00002C1A  4EAD 065A                jsr        [A5 + 0x65A /* export_199 */]
  4463. 00002C1E  7005                     moveq.l    D0, 0x05
  4464. 00002C20  2F00                     move.l     -[A7], D0
  4465. 00002C22  4EBA 012C                jsr        [PC + 0x12C /* 00002D50 */]
  4466. 00002C26  504F                     addq.w     A7, 8
  4467. label00002C28:
  4468. 00002C28  4A87                     tst.l      D7
  4469. 00002C2A  671C                     beq        +0x1E /* 00002C48 */
  4470. 00002C2C  A856                     syscall    ObscureCursor
  4471. 00002C2E  2F07                     move.l     -[A7], D7
  4472. 00002C30  4EBA 068A                jsr        [PC + 0x68A /* 000032BC */]
  4473. 00002C34  584F                     addq.w     A7, 4
  4474. 00002C36  6010                     bra        +0x12 /* 00002C48 */
  4475. label00002C38:
  4476. 00002C38  486D E08A                pea.l      [A5 - 0x1F76]
  4477. 00002C3C  2F3C FFFF EC78           move.l     -[A7], 0xFFFFEC78
  4478. 00002C42  4EBA 0362                jsr        [PC + 0x362 /* 00002FA6 */]
  4479. 00002C46  504F                     addq.w     A7, 8
  4480. label00002C48:
  4481. 00002C48  2E2E FFFC                move.l     D7, [A6 - 0x4]
  4482. 00002C4C  4E5E                     unlink     A6
  4483. 00002C4E  4E75                     rts
  4484. fn00002C50:
  4485. 00002C50  4E56 FFFC                link       A6, -0x0004
  4486. 00002C54  2F07                     move.l     -[A7], D7
  4487. 00002C56  202E 0008                move.l     D0, [A6 + 0x8]
  4488. 00002C5A  B0AD DCD6                cmp.l      D0, [A5 - 0x232A]
  4489. 00002C5E  6600 00E8                bne        +0xEA /* 00002D48 */
  4490. 00002C62  4A2D DB94                tst.b      [A5 - 0x246C]
  4491. 00002C66  6600 00E0                bne        +0xE2 /* 00002D48 */
  4492. 00002C6A  2F2D DCD6                move.l     -[A7], [A5 - 0x232A]
  4493. 00002C6E  A873                     syscall    SetPort
  4494. 00002C70  486E 000C                pea.l      [A6 + 0xC]
  4495. 00002C74  A871                     syscall    GlobalToLocal
  4496. 00002C76  302D F01A                move.w     D0, [A5 - 0xFE6]
  4497. 00002C7A  5340                     subq.w     D0, 1
  4498. 00002C7C  6700 0096                beq        +0x98 /* 00002D14 */
  4499. 00002C80  5340                     subq.w     D0, 1
  4500. 00002C82  6700 009C                beq        +0x9E /* 00002D20 */
  4501. 00002C86  5340                     subq.w     D0, 1
  4502. 00002C88  6700 00A2                beq        +0xA4 /* 00002D2C */
  4503. 00002C8C  5340                     subq.w     D0, 1
  4504. 00002C8E  6714                     beq        +0x16 /* 00002CA4 */
  4505. 00002C90  5340                     subq.w     D0, 1
  4506. 00002C92  6710                     beq        +0x12 /* 00002CA4 */
  4507. 00002C94  5340                     subq.w     D0, 1
  4508. 00002C96  6700 00B0                beq        +0xB2 /* 00002D48 */
  4509. 00002C9A  5E40                     addq.w     D0, 7
  4510. 00002C9C  6700 00AA                beq        +0xAC /* 00002D48 */
  4511. 00002CA0  6000 0096                bra        +0x98 /* 00002D38 */
  4512. label00002CA4:
  4513. 00002CA4  7043                     moveq.l    D0, 0x43
  4514. 00002CA6  B06E 000E                cmp.w      D0, [A6 + 0xE]
  4515. 00002CAA  6E00 009C                bgt        +0x9E /* 00002D48 */
  4516. 00002CAE  0C6E 01BD 000E           cmpi.w     [A6 + 0xE], 0x1BD
  4517. 00002CB4  6C00 0092                bge        +0x94 /* 00002D48 */
  4518. 00002CB8  7022                     moveq.l    D0, 0x22
  4519. 00002CBA  B06E 000C                cmp.w      D0, [A6 + 0xC]
  4520. 00002CBE  6E00 0088                bgt        +0x8A /* 00002D48 */
  4521. 00002CC2  0C6E 011C 000C           cmpi.w     [A6 + 0xC], 0x11C
  4522. 00002CC8  6C7E                     bge        +0x80 /* 00002D48 */
  4523. 00002CCA  302E 000C                move.w     D0, [A6 + 0xC]
  4524. 00002CCE  48C0                     ext.l      D0
  4525. 00002CD0  7222                     moveq.l    D1, 0x22
  4526. 00002CD2  9081                     sub.l      D0, D1
  4527. 00002CD4  7232                     moveq.l    D1, 0x32
  4528. 00002CD6  4EBA 28DA                jsr        [PC + 0x28DA /* 000055B2 */]
  4529. 00002CDA  D080                     add.l      D0, D0
  4530. 00002CDC  2200                     move.l     D1, D0
  4531. 00002CDE  D281                     add.l      D1, D1
  4532. 00002CE0  D081                     add.l      D0, D1
  4533. 00002CE2  322E 000E                move.w     D1, [A6 + 0xE]
  4534. 00002CE6  48C1                     ext.l      D1
  4535. 00002CE8  7443                     moveq.l    D2, 0x43
  4536. 00002CEA  9282                     sub.l      D1, D2
  4537. 00002CEC  2D40 FFFC                move.l     [A6 - 0x4], D0
  4538. 00002CF0  2001                     move.l     D0, D1
  4539. 00002CF2  723F                     moveq.l    D1, 0x3F
  4540. 00002CF4  4EBA 28BC                jsr        [PC + 0x28BC /* 000055B2 */]
  4541. 00002CF8  222E FFFC                move.l     D1, [A6 - 0x4]
  4542. 00002CFC  3E00                     move.w     D7, D0
  4543. 00002CFE  DE41                     add.w      D7, D1
  4544. 00002D00  48C7                     ext.l      D7
  4545. 00002D02  2007                     move.l     D0, D7
  4546. 00002D04  4480                     neg.l      D0
  4547. 00002D06  4880                     ext.w      D0
  4548. 00002D08  48C0                     ext.l      D0
  4549. 00002D0A  2F00                     move.l     -[A7], D0
  4550. 00002D0C  4EBA 05AE                jsr        [PC + 0x5AE /* 000032BC */]
  4551. 00002D10  584F                     addq.w     A7, 4
  4552. 00002D12  6034                     bra        +0x36 /* 00002D48 */
  4553. label00002D14:
  4554. 00002D14  7002                     moveq.l    D0, 0x02
  4555. 00002D16  2F00                     move.l     -[A7], D0
  4556. 00002D18  4EBA 0036                jsr        [PC + 0x36 /* 00002D50 */]
  4557. 00002D1C  584F                     addq.w     A7, 4
  4558. 00002D1E  6028                     bra        +0x2A /* 00002D48 */
  4559. label00002D20:
  4560. 00002D20  7003                     moveq.l    D0, 0x03
  4561. 00002D22  2F00                     move.l     -[A7], D0
  4562. 00002D24  4EBA 002A                jsr        [PC + 0x2A /* 00002D50 */]
  4563. 00002D28  584F                     addq.w     A7, 4
  4564. 00002D2A  601C                     bra        +0x1E /* 00002D48 */
  4565. label00002D2C:
  4566. 00002D2C  7001                     moveq.l    D0, 0x01
  4567. 00002D2E  2F00                     move.l     -[A7], D0
  4568. 00002D30  4EBA 001E                jsr        [PC + 0x1E /* 00002D50 */]
  4569. 00002D34  584F                     addq.w     A7, 4
  4570. 00002D36  6010                     bra        +0x12 /* 00002D48 */
  4571. label00002D38:
  4572. 00002D38  486D E092                pea.l      [A5 - 0x1F6E]
  4573. 00002D3C  2F3C FFFF EC78           move.l     -[A7], 0xFFFFEC78
  4574. 00002D42  4EBA 0262                jsr        [PC + 0x262 /* 00002FA6 */]
  4575. 00002D46  504F                     addq.w     A7, 8
  4576. label00002D48:
  4577. 00002D48  2E2E FFF8                move.l     D7, [A6 - 0x8]
  4578. 00002D4C  4E5E                     unlink     A6
  4579. 00002D4E  4E75                     rts
  4580. fn00002D50:
  4581. 00002D50  4E56 0000                link       A6, 0
  4582. 00002D54  7001                     moveq.l    D0, 0x01
  4583. 00002D56  2F00                     move.l     -[A7], D0
  4584. 00002D58  7202                     moveq.l    D1, 0x02
  4585. 00002D5A  2F01                     move.l     -[A7], D1
  4586. 00002D5C  4EBA 077C                jsr        [PC + 0x77C /* 000034DA */]
  4587. 00002D60  302E 000A                move.w     D0, [A6 + 0xA]
  4588. 00002D64  48C0                     ext.l      D0
  4589. 00002D66  2F00                     move.l     -[A7], D0
  4590. 00002D68  7064                     moveq.l    D0, 0x64
  4591. 00002D6A  2F00                     move.l     -[A7], D0
  4592. 00002D6C  4EBA 0850                jsr        [PC + 0x850 /* 000035BE */]
  4593. 00002D70  4E5E                     unlink     A6
  4594. 00002D72  4E75                     rts
  4595. fn00002D74:
  4596. 00002D74  4E56 0000                link       A6, 0
  4597. 00002D78  2F0C                     move.l     -[A7], A4
  4598. 00002D7A  307C 0000                movea.w    A0, 0x0
  4599. 00002D7E  A04B                     syscall    SetGrowZone
  4600. 00002D80  598F                     subq.l     A7, 4
  4601. 00002D82  2F3C 5354 5223           move.l     -[A7], 0x53545223 /* 'STR#' */
  4602. 00002D88  3F3C 03E8                move.w     -[A7], 0x3E8
  4603. 00002D8C  A9A0                     syscall    GetResource
  4604. 00002D8E  285F                     movea.l    A4, [A7]+
  4605. 00002D90  200C                     move.l     D0, A4
  4606. 00002D92  6704                     beq        +0x6 /* 00002D98 */
  4607. 00002D94  204C                     movea.l    A0, A4
  4608. 00002D96  A04A                     syscall    HNoPurge
  4609. label00002D98:
  4610. 00002D98  598F                     subq.l     A7, 4
  4611. 00002D9A  2F3C 5354 5223           move.l     -[A7], 0x53545223 /* 'STR#' */
  4612. 00002DA0  3F3C 03E9                move.w     -[A7], 0x3E9
  4613. 00002DA4  A9A0                     syscall    GetResource
  4614. 00002DA6  285F                     movea.l    A4, [A7]+
  4615. 00002DA8  200C                     move.l     D0, A4
  4616. 00002DAA  6704                     beq        +0x6 /* 00002DB0 */
  4617. 00002DAC  204C                     movea.l    A0, A4
  4618. 00002DAE  A04A                     syscall    HNoPurge
  4619. label00002DB0:
  4620. 00002DB0  598F                     subq.l     A7, 4
  4621. 00002DB2  2F3C 4D45 4343           move.l     -[A7], 0x4D454343 /* 'MECC' */
  4622. 00002DB8  7002                     moveq.l    D0, 0x02
  4623. 00002DBA  3F00                     move.w     -[A7], D0
  4624. 00002DBC  A9A0                     syscall    GetResource
  4625. 00002DBE  285F                     movea.l    A4, [A7]+
  4626. 00002DC0  200C                     move.l     D0, A4
  4627. 00002DC2  6704                     beq        +0x6 /* 00002DC8 */
  4628. 00002DC4  204C                     movea.l    A0, A4
  4629. 00002DC6  A04A                     syscall    HNoPurge
  4630. label00002DC8:
  4631. 00002DC8  3F3C 03E8                move.w     -[A7], 0x3E8
  4632. 00002DCC  A98A                     syscall    FreeAlert
  4633. 00002DCE  286E FFFC                movea.l    A4, [A6 - 0x4]
  4634. 00002DD2  4E5E                     unlink     A6
  4635. 00002DD4  4E75                     rts
  4636. export_50:
  4637. 00002DD6  4E56 FF00                link       A6, -0x0100
  4638. 00002DDA  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  4639. 00002DDE  2E2E 0008                move.l     D7, [A6 + 0x8]
  4640. 00002DE2  47EE FF00                lea.l      A3, [A6 - 0x100]
  4641. 00002DE6  200D                     move.l     D0, A5
  4642. 00002DE8  2A78 0904                movea.l    A5, [0x00000904 /* CurrentA5 */]
  4643. 00002DEC  2C00                     move.l     D6, D0
  4644. 00002DEE  2878 0328                movea.l    A4, [0x00000328 /* GZRootHnd */]
  4645. 00002DF2  200C                     move.l     D0, A4
  4646. 00002DF4  6704                     beq        +0x6 /* 00002DFA */
  4647. 00002DF6  204C                     movea.l    A0, A4
  4648. 00002DF8  A029                     syscall    HLock
  4649. label00002DFA:
  4650. 00002DFA  4AAD E17E                tst.l      [A5 - 0x1E82]
  4651. 00002DFE  673E                     beq        +0x40 /* 00002E3E */
  4652. 00002E00  206D E17E                movea.l    A0, [A5 - 0x1E82]
  4653. 00002E04  A023                     syscall    DisposHandle/DisposeHandle
  4654. 00002E06  7000                     moveq.l    D0, 0x00
  4655. 00002E08  2B40 E17E                move.l     [A5 - 0x1E82], D0
  4656. 00002E0C  2007                     move.l     D0, D7
  4657. 00002E0E  A04C                     syscall    CompactMem
  4658. 00002E10  BE80                     cmp.l      D7, D0
  4659. 00002E12  6E2A                     bgt        +0x2C /* 00002E3E */
  4660. 00002E14  2F0B                     move.l     -[A7], A3
  4661. 00002E16  3F3C 03E9                move.w     -[A7], 0x3E9
  4662. 00002E1A  7001                     moveq.l    D0, 0x01
  4663. 00002E1C  3F00                     move.w     -[A7], D0
  4664. 00002E1E  4EBA 2DC0                jsr        [PC + 0x2DC0 /* 00005BE0 */]
  4665. 00002E22  2F0B                     move.l     -[A7], A3
  4666. 00002E24  4EBA D740                jsr        [PC - 0x28C0 /* 00000566 */]
  4667. 00002E28  200C                     move.l     D0, A4
  4668. 00002E2A  584F                     addq.w     A7, 4
  4669. 00002E2C  6704                     beq        +0x6 /* 00002E32 */
  4670. 00002E2E  204C                     movea.l    A0, A4
  4671. 00002E30  A02A                     syscall    HUnlock
  4672. label00002E32:
  4673. 00002E32  2006                     move.l     D0, D6
  4674. 00002E34  C18D                     exg        D0, A5
  4675. 00002E36  7001                     moveq.l    D0, 0x01
  4676. 00002E38  2D40 000C                move.l     [A6 + 0xC], D0
  4677. 00002E3C  6024                     bra        +0x26 /* 00002E62 */
  4678. label00002E3E:
  4679. 00002E3E  4AAD E17A                tst.l      [A5 - 0x1E86]
  4680. 00002E42  6706                     beq        +0x8 /* 00002E4A */
  4681. 00002E44  206D E17A                movea.l    A0, [A5 - 0x1E86]
  4682. 00002E48  A023                     syscall    DisposHandle/DisposeHandle
  4683. label00002E4A:
  4684. 00002E4A  2F0B                     move.l     -[A7], A3
  4685. 00002E4C  3F3C 03E9                move.w     -[A7], 0x3E9
  4686. 00002E50  7006                     moveq.l    D0, 0x06
  4687. 00002E52  3F00                     move.w     -[A7], D0
  4688. 00002E54  4EBA 2D8A                jsr        [PC + 0x2D8A /* 00005BE0 */]
  4689. 00002E58  2F0B                     move.l     -[A7], A3
  4690. 00002E5A  4EBA DBE0                jsr        [PC - 0x2420 /* 00000A3C */]
  4691. 00002E5E  A9F4                     syscall    ExitToShell
  4692. 00002E60  584F                     addq.w     A7, 4
  4693. label00002E62:
  4694. 00002E62  4CEE 18C0 FEF0           movem.l    D6,D7,A3,A4, [A6 - 0x110]
  4695. 00002E68  4E5E                     unlink     A6
  4696. 00002E6A  2E9F                     move.l     [A7], [A7]+
  4697. 00002E6C  4E75                     rts
  4698. fn00002E6E:
  4699. 00002E6E  4E56 0000                link       A6, 0
  4700. 00002E72  48E7 1F08                movem.l    -[A7], D3,D4,D5,D6,D7,A4
  4701. 00002E76  286E 000C                movea.l    A4, [A6 + 0xC]
  4702. 00002E7A  3A2E 000A                move.w     D5, [A6 + 0xA]
  4703. 00002E7E  4204                     clr.b      D4
  4704. 00002E80  4A45                     tst.w      D5
  4705. 00002E82  6C14                     bge        +0x16 /* 00002E98 */
  4706. 00002E84  48C5                     ext.l      D5
  4707. 00002E86  2005                     move.l     D0, D5
  4708. 00002E88  4480                     neg.l      D0
  4709. 00002E8A  3A00                     move.w     D5, D0
  4710. 00002E8C  5214                     addq.b     [A4], 1
  4711. 00002E8E  7000                     moveq.l    D0, 0x00
  4712. 00002E90  1014                     move.b     D0, [A4]
  4713. 00002E92  19BC 002D 0000           move.b     [A4 + D0.w], 0x2D /* '-' */
  4714. label00002E98:
  4715. 00002E98  3E3C 2710                move.w     D7, 0x2710
  4716. 00002E9C  7600                     moveq.l    D3, 0x00
  4717. label00002E9E:
  4718. 00002E9E  4246                     clr.w      D6
  4719. 00002EA0  6006                     bra        +0x8 /* 00002EA8 */
  4720. label00002EA2:
  4721. 00002EA2  9A47                     sub.w      D5, D7
  4722. 00002EA4  3006                     move.w     D0, D6
  4723. 00002EA6  5246                     addq.w     D6, 1
  4724. label00002EA8:
  4725. 00002EA8  BE45                     cmp.w      D7, D5
  4726. 00002EAA  6FF6                     ble        -0x8 /* 00002EA2 */
  4727. 00002EAC  4A46                     tst.w      D6
  4728. 00002EAE  660A                     bne        +0xC /* 00002EBA */
  4729. 00002EB0  0C47 0001                cmpi.w     D7, 0x1
  4730. 00002EB4  6704                     beq        +0x6 /* 00002EBA */
  4731. 00002EB6  4A04                     tst.b      D4
  4732. 00002EB8  6714                     beq        +0x16 /* 00002ECE */
  4733. label00002EBA:
  4734. 00002EBA  48C6                     ext.l      D6
  4735. 00002EBC  2006                     move.l     D0, D6
  4736. 00002EBE  7230                     moveq.l    D1, 0x30
  4737. 00002EC0  D081                     add.l      D0, D1
  4738. 00002EC2  5214                     addq.b     [A4], 1
  4739. 00002EC4  7400                     moveq.l    D2, 0x00
  4740. 00002EC6  1414                     move.b     D2, [A4]
  4741. 00002EC8  1980 2000                move.b     [A4 + D2.w], D0
  4742. 00002ECC  7801                     moveq.l    D4, 0x01
  4743. label00002ECE:
  4744. 00002ECE  3007                     move.w     D0, D7
  4745. 00002ED0  48C0                     ext.l      D0
  4746. 00002ED2  81FC 000A                divs.w     D0, 0xA /* '\n' */
  4747. 00002ED6  3E00                     move.w     D7, D0
  4748. 00002ED8  B647                     cmp.w      D3, D7
  4749. 00002EDA  6DC2                     blt        -0x3C /* 00002E9E */
  4750. 00002EDC  4CEE 10F8 FFE8           movem.l    D3,D4,D5,D6,D7,A4, [A6 - 0x18]
  4751. 00002EE2  4E5E                     unlink     A6
  4752. 00002EE4  4E75                     rts
  4753. fn00002EE6:
  4754. 00002EE6  4E56 FFFC                link       A6, -0x0004
  4755. 00002EEA  48E7 0718                movem.l    -[A7], D5,D6,D7,A3,A4
  4756. 00002EEE  598F                     subq.l     A7, 4
  4757. 00002EF0  2F3C 5354 5223           move.l     -[A7], 0x53545223 /* 'STR#' */
  4758. 00002EF6  3F3C 03E8                move.w     -[A7], 0x3E8
  4759. 00002EFA  A9A0                     syscall    GetResource
  4760. 00002EFC  265F                     movea.l    A3, [A7]+
  4761. 00002EFE  200B                     move.l     D0, A3
  4762. 00002F00  6700 0098                beq        +0x9A /* 00002F9A */
  4763. 00002F04  2853                     movea.l    A4, [A3]
  4764. 00002F06  3A1C                     move.w     D5, [A4]+
  4765. 00002F08  6000 0086                bra        +0x88 /* 00002F90 */
  4766. label00002F0C:
  4767. 00002F0C  1C1C                     move.b     D6, [A4]+
  4768. 00002F0E  4207                     clr.b      D7
  4769. 00002F10  266E 0008                movea.l    A3, [A6 + 0x8]
  4770. 00002F14  524B                     addq.w     A3, 1
  4771. 00002F16  6016                     bra        +0x18 /* 00002F2E */
  4772. label00002F18:
  4773. 00002F18  206E 0008                movea.l    A0, [A6 + 0x8]
  4774. 00002F1C  BE10                     cmp.b      D7, [A0]
  4775. 00002F1E  6218                     bhi        +0x1A /* 00002F38 */
  4776. 00002F20  1014                     move.b     D0, [A4]
  4777. 00002F22  B013                     cmp.b      D0, [A3]
  4778. 00002F24  6612                     bne        +0x14 /* 00002F38 */
  4779. 00002F26  524B                     addq.w     A3, 1
  4780. 00002F28  524C                     addq.w     A4, 1
  4781. 00002F2A  1007                     move.b     D0, D7
  4782. 00002F2C  5207                     addq.b     D7, 1
  4783. label00002F2E:
  4784. 00002F2E  7000                     moveq.l    D0, 0x00
  4785. 00002F30  1014                     move.b     D0, [A4]
  4786. 00002F32  0C40 002C                cmpi.w     D0, 0x2C /* ',' */
  4787. 00002F36  66E0                     bne        -0x1E /* 00002F18 */
  4788. label00002F38:
  4789. 00002F38  7000                     moveq.l    D0, 0x00
  4790. 00002F3A  1014                     move.b     D0, [A4]
  4791. 00002F3C  0C40 002C                cmpi.w     D0, 0x2C /* ',' */
  4792. 00002F40  6642                     bne        +0x44 /* 00002F84 */
  4793. 00002F42  206E 0008                movea.l    A0, [A6 + 0x8]
  4794. 00002F46  BE10                     cmp.b      D7, [A0]
  4795. 00002F48  663A                     bne        +0x3C /* 00002F84 */
  4796. 00002F4A  524C                     addq.w     A4, 1
  4797. 00002F4C  2D6E 000C FFFC           move.l     [A6 - 0x4], [A6 + 0xC]
  4798. 00002F52  7000                     moveq.l    D0, 0x00
  4799. 00002F54  1006                     move.b     D0, D6
  4800. 00002F56  7200                     moveq.l    D1, 0x00
  4801. 00002F58  1207                     move.b     D1, D7
  4802. 00002F5A  9041                     sub.w      D0, D1
  4803. 00002F5C  5340                     subq.w     D0, 1
  4804. 00002F5E  1E00                     move.b     D7, D0
  4805. 00002F60  202E FFFC                move.l     D0, [A6 - 0x4]
  4806. 00002F64  52AE FFFC                addq.l     [A6 - 0x4], 1
  4807. 00002F68  2040                     movea.l    A0, D0
  4808. 00002F6A  1087                     move.b     [A0], D7
  4809. 00002F6C  600A                     bra        +0xC /* 00002F78 */
  4810. label00002F6E:
  4811. 00002F6E  206E FFFC                movea.l    A0, [A6 - 0x4]
  4812. 00002F72  52AE FFFC                addq.l     [A6 - 0x4], 1
  4813. 00002F76  109C                     move.b     [A0], [A4]+
  4814. label00002F78:
  4815. 00002F78  1007                     move.b     D0, D7
  4816. 00002F7A  5307                     subq.b     D7, 1
  4817. 00002F7C  4A00                     tst.b      D0
  4818. 00002F7E  66EE                     bne        -0x10 /* 00002F6E */
  4819. 00002F80  7001                     moveq.l    D0, 0x01
  4820. 00002F82  6018                     bra        +0x1A /* 00002F9C */
  4821. label00002F84:
  4822. 00002F84  7000                     moveq.l    D0, 0x00
  4823. 00002F86  1006                     move.b     D0, D6
  4824. 00002F88  7200                     moveq.l    D1, 0x00
  4825. 00002F8A  1207                     move.b     D1, D7
  4826. 00002F8C  9041                     sub.w      D0, D1
  4827. 00002F8E  D8C0                     add.w      A4, D0
  4828. label00002F90:
  4829. 00002F90  3005                     move.w     D0, D5
  4830. 00002F92  5345                     subq.w     D5, 1
  4831. 00002F94  4A40                     tst.w      D0
  4832. 00002F96  6600 FF74                bne        -0x8A /* 00002F0C */
  4833. label00002F9A:
  4834. 00002F9A  7000                     moveq.l    D0, 0x00
  4835. label00002F9C:
  4836. 00002F9C  4CEE 18E0 FFE8           movem.l    D5,D6,D7,A3,A4, [A6 - 0x18]
  4837. 00002FA2  4E5E                     unlink     A6
  4838. 00002FA4  4E75                     rts
  4839. export_51:
  4840. fn00002FA6:
  4841. 00002FA6  4E56 FCFC                link       A6, -0x0304
  4842. 00002FAA  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  4843. 00002FAE  3C2E 000A                move.w     D6, [A6 + 0xA]
  4844. 00002FB2  47EE FE00                lea.l      A3, [A6 - 0x200]
  4845. 00002FB6  49EE FF00                lea.l      A4, [A6 - 0x100]
  4846. 00002FBA  A850                     syscall    InitCursor
  4847. 00002FBC  422E FD00                clr.b      [A6 - 0x300]
  4848. 00002FC0  4213                     clr.b      [A3]
  4849. 00002FC2  4214                     clr.b      [A4]
  4850. 00002FC4  0C46 FF94                cmpi.w     D6, 0xFF94
  4851. 00002FC8  6604                     bne        +0x6 /* 00002FCE */
  4852. 00002FCA  7E03                     moveq.l    D7, 0x03
  4853. 00002FCC  6002                     bra        +0x4 /* 00002FD0 */
  4854. label00002FCE:
  4855. 00002FCE  7E02                     moveq.l    D7, 0x02
  4856. label00002FD0:
  4857. 00002FD0  486E FD00                pea.l      [A6 - 0x300]
  4858. 00002FD4  3F3C 03E9                move.w     -[A7], 0x3E9
  4859. 00002FD8  3F07                     move.w     -[A7], D7
  4860. 00002FDA  4EBA 2C04                jsr        [PC + 0x2C04 /* 00005BE0 */]
  4861. 00002FDE  2F0B                     move.l     -[A7], A3
  4862. 00002FE0  48C6                     ext.l      D6
  4863. 00002FE2  2F06                     move.l     -[A7], D6
  4864. 00002FE4  4EBA FE88                jsr        [PC - 0x178 /* 00002E6E */]
  4865. 00002FE8  598F                     subq.l     A7, 4
  4866. 00002FEA  2F3C 4D45 4343           move.l     -[A7], 0x4D454343 /* 'MECC' */
  4867. 00002FF0  7002                     moveq.l    D0, 0x02
  4868. 00002FF2  3F00                     move.w     -[A7], D0
  4869. 00002FF4  A9A0                     syscall    GetResource
  4870. 00002FF6  2D5F FCFC                move.l     [A6 - 0x304], [A7]+
  4871. 00002FFA  504F                     addq.w     A7, 8
  4872. 00002FFC  670C                     beq        +0xE /* 0000300A */
  4873. 00002FFE  206E FCFC                movea.l    A0, [A6 - 0x304]
  4874. 00003002  2F10                     move.l     -[A7], [A0]
  4875. 00003004  2F0C                     move.l     -[A7], A4
  4876. 00003006  4EBA D40A                jsr        [PC - 0x2BF6 /* 00000412 */]
  4877. label0000300A:
  4878. 0000300A  486E FD00                pea.l      [A6 - 0x300]
  4879. 0000300E  2F0B                     move.l     -[A7], A3
  4880. 00003010  2F2E 000C                move.l     -[A7], [A6 + 0xC]
  4881. 00003014  2F0C                     move.l     -[A7], A4
  4882. 00003016  A98B                     syscall    ParamText
  4883. 00003018  4878 03E8                push.l     0x3E8
  4884. 0000301C  4EBA D596                jsr        [PC - 0x2A6A /* 000005B4 */]
  4885. 00003020  4EBA E0DA                jsr        [PC - 0x1F26 /* 000010FC */]
  4886. 00003024  A9F4                     syscall    ExitToShell
  4887. 00003026  584F                     addq.w     A7, 4
  4888. 00003028  4CEE 18C0 FCEC           movem.l    D6,D7,A3,A4, [A6 - 0x314]
  4889. 0000302E  4E5E                     unlink     A6
  4890. 00003030  4E75                     rts
  4891. fn00003032:
  4892. 00003032  4E56 FD00                link       A6, -0x0300
  4893. 00003036  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  4894. 0000303A  1C2E 000F                move.b     D6, [A6 + 0xF]
  4895. 0000303E  3E2E 000A                move.w     D7, [A6 + 0xA]
  4896. 00003042  47EE FF00                lea.l      A3, [A6 - 0x100]
  4897. 00003046  422E FD00                clr.b      [A6 - 0x300]
  4898. 0000304A  422E FE00                clr.b      [A6 - 0x200]
  4899. 0000304E  486E FE00                pea.l      [A6 - 0x200]
  4900. 00003052  48C7                     ext.l      D7
  4901. 00003054  2F07                     move.l     -[A7], D7
  4902. 00003056  4EBA FE16                jsr        [PC - 0x1EA /* 00002E6E */]
  4903. 0000305A  486E FD00                pea.l      [A6 - 0x300]
  4904. 0000305E  486E FE00                pea.l      [A6 - 0x200]
  4905. 00003062  4EBA FE82                jsr        [PC - 0x17E /* 00002EE6 */]
  4906. 00003066  4A00                     tst.b      D0
  4907. 00003068  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4908. 0000306C  660E                     bne        +0x10 /* 0000307C */
  4909. 0000306E  486D E162                pea.l      [A5 - 0x1E9E]
  4910. 00003072  48C7                     ext.l      D7
  4911. 00003074  2F07                     move.l     -[A7], D7
  4912. 00003076  4EBA FF2E                jsr        [PC - 0xD2 /* 00002FA6 */]
  4913. 0000307A  504F                     addq.w     A7, 8
  4914. label0000307C:
  4915. 0000307C  4A06                     tst.b      D6
  4916. 0000307E  6710                     beq        +0x12 /* 00003090 */
  4917. 00003080  2F0B                     move.l     -[A7], A3
  4918. 00003082  3F3C 03E8                move.w     -[A7], 0x3E8
  4919. 00003086  700E                     moveq.l    D0, 0x0E
  4920. 00003088  3F00                     move.w     -[A7], D0
  4921. 0000308A  4EBA 2B54                jsr        [PC + 0x2B54 /* 00005BE0 */]
  4922. 0000308E  600E                     bra        +0x10 /* 0000309E */
  4923. label00003090:
  4924. 00003090  2F0B                     move.l     -[A7], A3
  4925. 00003092  3F3C 03E8                move.w     -[A7], 0x3E8
  4926. 00003096  700F                     moveq.l    D0, 0x0F
  4927. 00003098  3F00                     move.w     -[A7], D0
  4928. 0000309A  4EBA 2B44                jsr        [PC + 0x2B44 /* 00005BE0 */]
  4929. label0000309E:
  4930. 0000309E  486E FD00                pea.l      [A6 - 0x300]
  4931. 000030A2  2F0B                     move.l     -[A7], A3
  4932. 000030A4  7000                     moveq.l    D0, 0x00
  4933. 000030A6  2F00                     move.l     -[A7], D0
  4934. 000030A8  2F00                     move.l     -[A7], D0
  4935. 000030AA  A98B                     syscall    ParamText
  4936. 000030AC  598F                     subq.l     A7, 4
  4937. 000030AE  2F3C 414C 5254           move.l     -[A7], 0x414C5254 /* 'ALRT' */
  4938. 000030B4  3F3C 03E9                move.w     -[A7], 0x3E9
  4939. 000030B8  A9A0                     syscall    GetResource
  4940. 000030BA  285F                     movea.l    A4, [A7]+
  4941. 000030BC  200C                     move.l     D0, A4
  4942. 000030BE  6614                     bne        +0x16 /* 000030D4 */
  4943. 000030C0  486D E16E                pea.l      [A5 - 0x1E92]
  4944. 000030C4  558F                     subq.l     A7, 2
  4945. 000030C6  A9AF                     syscall    ResError
  4946. 000030C8  301F                     move.w     D0, [A7]+
  4947. 000030CA  48C0                     ext.l      D0
  4948. 000030CC  2F00                     move.l     -[A7], D0
  4949. 000030CE  4EBA FED6                jsr        [PC - 0x12A /* 00002FA6 */]
  4950. 000030D2  504F                     addq.w     A7, 8
  4951. label000030D4:
  4952. 000030D4  204C                     movea.l    A0, A4
  4953. 000030D6  A029                     syscall    HLock
  4954. 000030D8  2654                     movea.l    A3, [A4]
  4955. 000030DA  2F0B                     move.l     -[A7], A3
  4956. 000030DC  4EBA D542                jsr        [PC - 0x2ABE /* 00000620 */]
  4957. 000030E0  204C                     movea.l    A0, A4
  4958. 000030E2  A02A                     syscall    HUnlock
  4959. 000030E4  558F                     subq.l     A7, 2
  4960. 000030E6  3F3C 03E9                move.w     -[A7], 0x3E9
  4961. 000030EA  7000                     moveq.l    D0, 0x00
  4962. 000030EC  2F00                     move.l     -[A7], D0
  4963. 000030EE  A986                     syscall    StopAlert
  4964. 000030F0  4A06                     tst.b      D6
  4965. 000030F2  5C4F                     addq.w     A7, 6
  4966. 000030F4  6706                     beq        +0x8 /* 000030FC */
  4967. 000030F6  4EBA E004                jsr        [PC - 0x1FFC /* 000010FC */]
  4968. 000030FA  A9F4                     syscall    ExitToShell
  4969. label000030FC:
  4970. 000030FC  4CEE 18C0 FCF0           movem.l    D6,D7,A3,A4, [A6 - 0x310]
  4971. 00003102  4E5E                     unlink     A6
  4972. 00003104  4E75                     rts
  4973. fn00003106:
  4974. 00003106  4E56 0000                link       A6, 0
  4975. 0000310A  48E7 1118                movem.l    -[A7], D3,D7,A3,A4
  4976. 0000310E  47ED EEAE                lea.l      A3, [A5 - 0x1152]
  4977. 00003112  49EB 012C                lea.l      A4, [A3 + 0x12C]
  4978. 00003116  7E0F                     moveq.l    D7, 0x0F
  4979. 00003118  7600                     moveq.l    D3, 0x00
  4980. label0000311A:
  4981. 0000311A  70FF                     moveq.l    D0, 0xFFFFFFFF
  4982. 0000311C  B054                     cmp.w      D0, [A4]
  4983. 0000311E  6706                     beq        +0x8 /* 00003126 */
  4984. 00003120  3B47 F00E                move.w     [A5 - 0xFF2], D7
  4985. 00003124  600C                     bra        +0xE /* 00003132 */
  4986. label00003126:
  4987. 00003126  3007                     move.w     D0, D7
  4988. 00003128  5347                     subq.w     D7, 1
  4989. 0000312A  49EC FFEC                lea.l      A4, [A4 - 0x14]
  4990. 0000312E  B647                     cmp.w      D3, D7
  4991. 00003130  6DE8                     blt        -0x16 /* 0000311A */
  4992. label00003132:
  4993. 00003132  4CEE 1888 FFF0           movem.l    D3,D7,A3,A4, [A6 - 0x10]
  4994. 00003138  4E5E                     unlink     A6
  4995. 0000313A  4E75                     rts
  4996. fn0000313C:
  4997. 0000313C  4E56 0000                link       A6, 0
  4998. 00003140  48E7 0718                movem.l    -[A7], D5,D6,D7,A3,A4
  4999. 00003144  47ED EFF8                lea.l      A3, [A5 - 0x1008]
  5000. 00003148  3A2E 000A                move.w     D5, [A6 + 0xA]
  5001. 0000314C  CA6D F010                and.w      D5, [A5 - 0xFF0]
  5002. 00003150  49ED EEAE                lea.l      A4, [A5 - 0x1152]
  5003. 00003154  4246                     clr.w      D6
  5004. 00003156  6000 0088                bra        +0x8A /* 000031E0 */
  5005. label0000315A:
  5006. 0000315A  4207                     clr.b      D7
  5007. 0000315C  4A54                     tst.w      [A4]
  5008. 0000315E  6D78                     blt        +0x7A /* 000031D8 */
  5009. 00003160  3005                     move.w     D0, D5
  5010. 00003162  C06C 0006                and.w      D0, [A4 + 0x6]
  5011. 00003166  6770                     beq        +0x72 /* 000031D8 */
  5012. 00003168  302C 0006                move.w     D0, [A4 + 0x6]
  5013. 0000316C  5340                     subq.w     D0, 1
  5014. 0000316E  6712                     beq        +0x14 /* 00003182 */
  5015. 00003170  5340                     subq.w     D0, 1
  5016. 00003172  671E                     beq        +0x20 /* 00003192 */
  5017. 00003174  5540                     subq.w     D0, 2
  5018. 00003176  671A                     beq        +0x1C /* 00003192 */
  5019. 00003178  5940                     subq.w     D0, 4
  5020. 0000317A  6716                     beq        +0x18 /* 00003192 */
  5021. 0000317C  5140                     subq.w     D0, 8
  5022. 0000317E  6726                     beq        +0x28 /* 000031A6 */
  5023. 00003180  6028                     bra        +0x2A /* 000031AA */
  5024. label00003182:
  5025. 00003182  302C 000A                move.w     D0, [A4 + 0xA]
  5026. 00003186  D040                     add.w      D0, D0
  5027. 00003188  4A73 0000                tst.w      [A3 + D0.w]
  5028. 0000318C  672C                     beq        +0x2E /* 000031BA */
  5029. 0000318E  7E01                     moveq.l    D7, 0x01
  5030. 00003190  6028                     bra        +0x2A /* 000031BA */
  5031. label00003192:
  5032. 00003192  53AC 000C                subq.l     [A4 + 0xC], 1
  5033. 00003196  4AAC 000C                tst.l      [A4 + 0xC]
  5034. 0000319A  6E1E                     bgt        +0x20 /* 000031BA */
  5035. 0000319C  296C 0008 000C           move.l     [A4 + 0xC], [A4 + 0x8]
  5036. 000031A2  7E01                     moveq.l    D7, 0x01
  5037. 000031A4  6014                     bra        +0x16 /* 000031BA */
  5038. label000031A6:
  5039. 000031A6  7E01                     moveq.l    D7, 0x01
  5040. 000031A8  6010                     bra        +0x12 /* 000031BA */
  5041. label000031AA:
  5042. 000031AA  486D EE5A                pea.l      [A5 - 0x11A6]
  5043. 000031AE  2F3C FFFF FC18           move.l     -[A7], 0xFFFFFC18
  5044. 000031B4  4EBA FDF0                jsr        [PC - 0x210 /* 00002FA6 */]
  5045. 000031B8  504F                     addq.w     A7, 8
  5046. label000031BA:
  5047. 000031BA  4A07                     tst.b      D7
  5048. 000031BC  671A                     beq        +0x1C /* 000031D8 */
  5049. 000031BE  3B54 F016                move.w     [A5 - 0xFEA], [A4]
  5050. 000031C2  302C 0004                move.w     D0, [A4 + 0x4]
  5051. 000031C6  48C0                     ext.l      D0
  5052. 000031C8  2F00                     move.l     -[A7], D0
  5053. 000031CA  302C 0002                move.w     D0, [A4 + 0x2]
  5054. 000031CE  48C0                     ext.l      D0
  5055. 000031D0  2F00                     move.l     -[A7], D0
  5056. 000031D2  4EBA F83C                jsr        [PC - 0x7C4 /* 00002A10 */]
  5057. 000031D6  504F                     addq.w     A7, 8
  5058. label000031D8:
  5059. 000031D8  49EC 0014                lea.l      A4, [A4 + 0x14]
  5060. 000031DC  3006                     move.w     D0, D6
  5061. 000031DE  5246                     addq.w     D6, 1
  5062. label000031E0:
  5063. 000031E0  BC6D F00E                cmp.w      D6, [A5 - 0xFF2]
  5064. 000031E4  6F00 FF74                ble        -0x8A /* 0000315A */
  5065. 000031E8  4CEE 18E0 FFEC           movem.l    D5,D6,D7,A3,A4, [A6 - 0x14]
  5066. 000031EE  4E5E                     unlink     A6
  5067. 000031F0  4E75                     rts
  5068. fn000031F2:
  5069. 000031F2  4E56 0000                link       A6, 0
  5070. 000031F6  48E7 1318                movem.l    -[A7], D3,D6,D7,A3,A4
  5071. 000031FA  47ED EEAE                lea.l      A3, [A5 - 0x1152]
  5072. 000031FE  3C2E 000A                move.w     D6, [A6 + 0xA]
  5073. 00003202  6604                     bne        +0x6 /* 00003208 */
  5074. 00003204  3C2D F016                move.w     D6, [A5 - 0xFEA]
  5075. label00003208:
  5076. 00003208  49D3                     lea.l      A4, [A3]
  5077. 0000320A  4247                     clr.w      D7
  5078. 0000320C  7610                     moveq.l    D3, 0x10
  5079. label0000320E:
  5080. 0000320E  BC54                     cmp.w      D6, [A4]
  5081. 00003210  6604                     bne        +0x6 /* 00003216 */
  5082. 00003212  200C                     move.l     D0, A4
  5083. 00003214  601E                     bra        +0x20 /* 00003234 */
  5084. label00003216:
  5085. 00003216  49EC 0014                lea.l      A4, [A4 + 0x14]
  5086. 0000321A  3007                     move.w     D0, D7
  5087. 0000321C  5247                     addq.w     D7, 1
  5088. 0000321E  B647                     cmp.w      D3, D7
  5089. 00003220  6EEC                     bgt        -0x12 /* 0000320E */
  5090. 00003222  486D EE62                pea.l      [A5 - 0x119E]
  5091. 00003226  2F3C FFFF FC18           move.l     -[A7], 0xFFFFFC18
  5092. 0000322C  4EBA FD78                jsr        [PC - 0x288 /* 00002FA6 */]
  5093. 00003230  7000                     moveq.l    D0, 0x00
  5094. 00003232  504F                     addq.w     A7, 8
  5095. label00003234:
  5096. 00003234  4CEE 18C8 FFEC           movem.l    D3,D6,D7,A3,A4, [A6 - 0x14]
  5097. 0000323A  4E5E                     unlink     A6
  5098. 0000323C  4E75                     rts
  5099. export_52:
  5100. fn0000323E:
  5101. 0000323E  4E56 0000                link       A6, 0
  5102. 00003242  2F0C                     move.l     -[A7], A4
  5103. 00003244  302E 0008                move.w     D0, [A6 + 0x8]
  5104. 00003248  48C0                     ext.l      D0
  5105. 0000324A  2F00                     move.l     -[A7], D0
  5106. 0000324C  4EBA 00CC                jsr        [PC + 0xCC /* 0000331A */]
  5107. 00003250  4A00                     tst.b      D0
  5108. 00003252  584F                     addq.w     A7, 4
  5109. 00003254  6712                     beq        +0x14 /* 00003268 */
  5110. 00003256  486D EE6C                pea.l      [A5 - 0x1194]
  5111. 0000325A  2F3C FFFF FC18           move.l     -[A7], 0xFFFFFC18
  5112. 00003260  4EBA FD44                jsr        [PC - 0x2BC /* 00002FA6 */]
  5113. 00003264  504F                     addq.w     A7, 8
  5114. 00003266  604C                     bra        +0x4E /* 000032B4 */
  5115. label00003268:
  5116. 00003268  70FF                     moveq.l    D0, 0xFFFFFFFF
  5117. 0000326A  2F00                     move.l     -[A7], D0
  5118. 0000326C  4EBA 00AC                jsr        [PC + 0xAC /* 0000331A */]
  5119. 00003270  4A00                     tst.b      D0
  5120. 00003272  584F                     addq.w     A7, 4
  5121. 00003274  6612                     bne        +0x14 /* 00003288 */
  5122. 00003276  486D EE76                pea.l      [A5 - 0x118A]
  5123. 0000327A  2F3C FFFF FC18           move.l     -[A7], 0xFFFFFC18
  5124. 00003280  4EBA FD24                jsr        [PC - 0x2DC /* 00002FA6 */]
  5125. 00003284  504F                     addq.w     A7, 8
  5126. 00003286  602C                     bra        +0x2E /* 000032B4 */
  5127. label00003288:
  5128. 00003288  70FF                     moveq.l    D0, 0xFFFFFFFF
  5129. 0000328A  2F00                     move.l     -[A7], D0
  5130. 0000328C  4EBA FF64                jsr        [PC - 0x9C /* 000031F2 */]
  5131. 00003290  2840                     movea.l    A4, D0
  5132. 00003292  41EE 0008                lea.l      A0, [A6 + 0x8]
  5133. 00003296  224C                     movea.l    A1, A4
  5134. 00003298  7004                     moveq.l    D0, 0x04
  5135. label0000329A:
  5136. 0000329A  22D8                     move.l     [A1]+, [A0]+
  5137. 0000329C  51C8 FFFC                dbf        D0, -0x6 /* 0000329A */
  5138. 000032A0  4EBA FE64                jsr        [PC - 0x19C /* 00003106 */]
  5139. 000032A4  7001                     moveq.l    D0, 0x01
  5140. 000032A6  B06E 000E                cmp.w      D0, [A6 + 0xE]
  5141. 000032AA  584F                     addq.w     A7, 4
  5142. 000032AC  6606                     bne        +0x8 /* 000032B4 */
  5143. 000032AE  3B7C 0001 F014           move.w     [A5 - 0xFEC], 0x1
  5144. label000032B4:
  5145. 000032B4  286E FFFC                movea.l    A4, [A6 - 0x4]
  5146. 000032B8  4E5E                     unlink     A6
  5147. 000032BA  4E75                     rts
  5148. export_53:
  5149. fn000032BC:
  5150. 000032BC  4E56 0000                link       A6, 0
  5151. 000032C0  48E7 0018                movem.l    -[A7], A3,A4
  5152. 000032C4  47ED EFF8                lea.l      A3, [A5 - 0x1008]
  5153. 000032C8  49ED EFEE                lea.l      A4, [A5 - 0x1012]
  5154. 000032CC  302D F012                move.w     D0, [A5 - 0xFEE]
  5155. 000032D0  48C0                     ext.l      D0
  5156. 000032D2  5280                     addq.l     D0, 1
  5157. 000032D4  322D F00C                move.w     D1, [A5 - 0xFF4]
  5158. 000032D8  48C1                     ext.l      D1
  5159. 000032DA  B081                     cmp.l      D0, D1
  5160. 000032DC  6732                     beq        +0x34 /* 00003310 */
  5161. 000032DE  7009                     moveq.l    D0, 0x09
  5162. 000032E0  B06D F012                cmp.w      D0, [A5 - 0xFEE]
  5163. 000032E4  6606                     bne        +0x8 /* 000032EC */
  5164. 000032E6  4A6D F00C                tst.w      [A5 - 0xFF4]
  5165. 000032EA  6724                     beq        +0x26 /* 00003310 */
  5166. label000032EC:
  5167. 000032EC  302D F012                move.w     D0, [A5 - 0xFEE]
  5168. 000032F0  526D F012                addq.w     [A5 - 0xFEE], 1
  5169. 000032F4  19AE 000B 0000           move.b     [A4 + D0.w], [A6 + 0xB]
  5170. 000032FA  700A                     moveq.l    D0, 0x0A
  5171. 000032FC  B06D F012                cmp.w      D0, [A5 - 0xFEE]
  5172. 00003300  6E04                     bgt        +0x6 /* 00003306 */
  5173. 00003302  426D F012                clr.w      [A5 - 0xFEE]
  5174. label00003306:
  5175. 00003306  526B 0002                addq.w     [A3 + 0x2], 1
  5176. 0000330A  3B7C 0001 F014           move.w     [A5 - 0xFEC], 0x1
  5177. label00003310:
  5178. 00003310  4CEE 1800 FFF8           movem.l    A3,A4, [A6 - 0x8]
  5179. 00003316  4E5E                     unlink     A6
  5180. 00003318  4E75                     rts
  5181. export_54:
  5182. fn0000331A:
  5183. 0000331A  4E56 0000                link       A6, 0
  5184. 0000331E  48E7 1318                movem.l    -[A7], D3,D6,D7,A3,A4
  5185. 00003322  47ED EEAE                lea.l      A3, [A5 - 0x1152]
  5186. 00003326  3C2E 000A                move.w     D6, [A6 + 0xA]
  5187. 0000332A  6604                     bne        +0x6 /* 00003330 */
  5188. 0000332C  3C2D F016                move.w     D6, [A5 - 0xFEA]
  5189. label00003330:
  5190. 00003330  49D3                     lea.l      A4, [A3]
  5191. 00003332  4247                     clr.w      D7
  5192. 00003334  7610                     moveq.l    D3, 0x10
  5193. label00003336:
  5194. 00003336  BC54                     cmp.w      D6, [A4]
  5195. 00003338  6604                     bne        +0x6 /* 0000333E */
  5196. 0000333A  7001                     moveq.l    D0, 0x01
  5197. 0000333C  600E                     bra        +0x10 /* 0000334C */
  5198. label0000333E:
  5199. 0000333E  49EC 0014                lea.l      A4, [A4 + 0x14]
  5200. 00003342  3007                     move.w     D0, D7
  5201. 00003344  5247                     addq.w     D7, 1
  5202. 00003346  B647                     cmp.w      D3, D7
  5203. 00003348  6EEC                     bgt        -0x12 /* 00003336 */
  5204. 0000334A  7000                     moveq.l    D0, 0x00
  5205. label0000334C:
  5206. 0000334C  4CEE 18C8 FFEC           movem.l    D3,D6,D7,A3,A4, [A6 - 0x14]
  5207. 00003352  4E5E                     unlink     A6
  5208. 00003354  4E75                     rts
  5209. fn00003356:
  5210. 00003356  4E56 0000                link       A6, 0
  5211. 0000335A  48E7 1108                movem.l    -[A7], D3,D7,A4
  5212. 0000335E  49ED EFF8                lea.l      A4, [A5 - 0x1008]
  5213. 00003362  4247                     clr.w      D7
  5214. 00003364  760A                     moveq.l    D3, 0x0A
  5215. label00003366:
  5216. 00003366  3007                     move.w     D0, D7
  5217. 00003368  5247                     addq.w     D7, 1
  5218. 0000336A  D040                     add.w      D0, D0
  5219. 0000336C  4274 0000                clr.w      [A4 + D0.w]
  5220. 00003370  B647                     cmp.w      D3, D7
  5221. 00003372  6EF2                     bgt        -0xC /* 00003366 */
  5222. 00003374  4CEE 1088 FFF4           movem.l    D3,D7,A4, [A6 - 0xC]
  5223. 0000337A  4E5E                     unlink     A6
  5224. 0000337C  4E75                     rts
  5225. export_55:
  5226. fn0000337E:
  5227. 0000337E  4E56 0000                link       A6, 0
  5228. 00003382  2F0C                     move.l     -[A7], A4
  5229. 00003384  49ED EFF8                lea.l      A4, [A5 - 0x1008]
  5230. 00003388  426D F00C                clr.w      [A5 - 0xFF4]
  5231. 0000338C  426D F012                clr.w      [A5 - 0xFEE]
  5232. 00003390  426C 0002                clr.w      [A4 + 0x2]
  5233. 00003394  286E FFFC                movea.l    A4, [A6 - 0x4]
  5234. 00003398  4E5E                     unlink     A6
  5235. 0000339A  4E75                     rts
  5236. export_56:
  5237. 0000339C  4E56 0000                link       A6, 0
  5238. 000033A0  2F0C                     move.l     -[A7], A4
  5239. 000033A2  302E 000A                move.w     D0, [A6 + 0xA]
  5240. 000033A6  48C0                     ext.l      D0
  5241. 000033A8  2F00                     move.l     -[A7], D0
  5242. 000033AA  4EBA FE46                jsr        [PC - 0x1BA /* 000031F2 */]
  5243. 000033AE  2840                     movea.l    A4, D0
  5244. 000033B0  38BC FFFF                move.w     [A4], 0xFFFF
  5245. 000033B4  4EBA FD50                jsr        [PC - 0x2B0 /* 00003106 */]
  5246. 000033B8  286E FFFC                movea.l    A4, [A6 - 0x4]
  5247. 000033BC  4E5E                     unlink     A6
  5248. 000033BE  4E75                     rts
  5249. export_57:
  5250. 000033C0  4E56 0000                link       A6, 0
  5251. 000033C4  302E 000E                move.w     D0, [A6 + 0xE]
  5252. 000033C8  48C0                     ext.l      D0
  5253. 000033CA  2F00                     move.l     -[A7], D0
  5254. 000033CC  4EBA FE24                jsr        [PC - 0x1DC /* 000031F2 */]
  5255. 000033D0  2040                     movea.l    A0, D0
  5256. 000033D2  226E 0008                movea.l    A1, [A6 + 0x8]
  5257. 000033D6  7004                     moveq.l    D0, 0x04
  5258. label000033D8:
  5259. 000033D8  22D8                     move.l     [A1]+, [A0]+
  5260. 000033DA  51C8 FFFC                dbf        D0, -0x6 /* 000033D8 */
  5261. 000033DE  4E5E                     unlink     A6
  5262. 000033E0  4E75                     rts
  5263. export_58:
  5264. 000033E2  4E56 0000                link       A6, 0
  5265. 000033E6  302D F016                move.w     D0, [A5 - 0xFEA]
  5266. 000033EA  4E5E                     unlink     A6
  5267. 000033EC  4E75                     rts
  5268. export_59:
  5269. 000033EE  4E56 0000                link       A6, 0
  5270. 000033F2  48E7 0118                movem.l    -[A7], D7,A3,A4
  5271. 000033F6  47ED EFF8                lea.l      A3, [A5 - 0x1008]
  5272. 000033FA  49ED EFEE                lea.l      A4, [A5 - 0x1012]
  5273. 000033FE  4207                     clr.b      D7
  5274. 00003400  302D F012                move.w     D0, [A5 - 0xFEE]
  5275. 00003404  B06D F00C                cmp.w      D0, [A5 - 0xFF4]
  5276. 00003408  6724                     beq        +0x26 /* 0000342E */
  5277. 0000340A  302D F00C                move.w     D0, [A5 - 0xFF4]
  5278. 0000340E  526D F00C                addq.w     [A5 - 0xFF4], 1
  5279. 00003412  1E34 0000                move.b     D7, [A4 + D0.w]
  5280. 00003416  700A                     moveq.l    D0, 0x0A
  5281. 00003418  B06D F00C                cmp.w      D0, [A5 - 0xFF4]
  5282. 0000341C  6E04                     bgt        +0x6 /* 00003422 */
  5283. 0000341E  426D F00C                clr.w      [A5 - 0xFF4]
  5284. label00003422:
  5285. 00003422  536B 0002                subq.w     [A3 + 0x2], 1
  5286. 00003426  6706                     beq        +0x8 /* 0000342E */
  5287. 00003428  3B7C 0001 F014           move.w     [A5 - 0xFEC], 0x1
  5288. label0000342E:
  5289. 0000342E  1007                     move.b     D0, D7
  5290. 00003430  4CEE 1880 FFF4           movem.l    D7,A3,A4, [A6 - 0xC]
  5291. 00003436  4E5E                     unlink     A6
  5292. 00003438  4E75                     rts
  5293. export_60:
  5294. 0000343A  4E56 0000                link       A6, 0
  5295. 0000343E  302E 000A                move.w     D0, [A6 + 0xA]
  5296. 00003442  48C0                     ext.l      D0
  5297. 00003444  2F00                     move.l     -[A7], D0
  5298. 00003446  4EBA FDAA                jsr        [PC - 0x256 /* 000031F2 */]
  5299. 0000344A  2040                     movea.l    A0, D0
  5300. 0000344C  2028 0010                move.l     D0, [A0 + 0x10]
  5301. 00003450  4E5E                     unlink     A6
  5302. 00003452  4E75                     rts
  5303. export_61:
  5304. fn00003454:
  5305. 00003454  4E56 0000                link       A6, 0
  5306. 00003458  302E 000A                move.w     D0, [A6 + 0xA]
  5307. 0000345C  48C0                     ext.l      D0
  5308. 0000345E  2F00                     move.l     -[A7], D0
  5309. 00003460  4EBA FD90                jsr        [PC - 0x270 /* 000031F2 */]
  5310. 00003464  2040                     movea.l    A0, D0
  5311. 00003466  3028 0004                move.w     D0, [A0 + 0x4]
  5312. 0000346A  4E5E                     unlink     A6
  5313. 0000346C  4E75                     rts
  5314. export_62:
  5315. 0000346E  4E56 0000                link       A6, 0
  5316. 00003472  2F0C                     move.l     -[A7], A4
  5317. 00003474  49ED EFEE                lea.l      A4, [A5 - 0x1012]
  5318. 00003478  302D F012                move.w     D0, [A5 - 0xFEE]
  5319. 0000347C  B06D F00C                cmp.w      D0, [A5 - 0xFF4]
  5320. 00003480  670A                     beq        +0xC /* 0000348C */
  5321. 00003482  302D F00C                move.w     D0, [A5 - 0xFF4]
  5322. 00003486  1034 0000                move.b     D0, [A4 + D0.w]
  5323. 0000348A  6002                     bra        +0x4 /* 0000348E */
  5324. label0000348C:
  5325. 0000348C  7000                     moveq.l    D0, 0x00
  5326. label0000348E:
  5327. 0000348E  286E FFFC                movea.l    A4, [A6 - 0x4]
  5328. 00003492  4E5E                     unlink     A6
  5329. 00003494  4E75                     rts
  5330. export_63:
  5331. 00003496  4E56 0000                link       A6, 0
  5332. 0000349A  2F0C                     move.l     -[A7], A4
  5333. 0000349C  302E 000A                move.w     D0, [A6 + 0xA]
  5334. 000034A0  48C0                     ext.l      D0
  5335. 000034A2  2F00                     move.l     -[A7], D0
  5336. 000034A4  4EBA FD4C                jsr        [PC - 0x2B4 /* 000031F2 */]
  5337. 000034A8  2840                     movea.l    A4, D0
  5338. 000034AA  296E 000C 0008           move.l     [A4 + 0x8], [A6 + 0xC]
  5339. 000034B0  286E FFFC                movea.l    A4, [A6 - 0x4]
  5340. 000034B4  4E5E                     unlink     A6
  5341. 000034B6  4E75                     rts
  5342. export_64:
  5343. 000034B8  4E56 0000                link       A6, 0
  5344. 000034BC  2F0C                     move.l     -[A7], A4
  5345. 000034BE  302E 000A                move.w     D0, [A6 + 0xA]
  5346. 000034C2  48C0                     ext.l      D0
  5347. 000034C4  2F00                     move.l     -[A7], D0
  5348. 000034C6  4EBA FD2A                jsr        [PC - 0x2D6 /* 000031F2 */]
  5349. 000034CA  2840                     movea.l    A4, D0
  5350. 000034CC  296E 000C 000C           move.l     [A4 + 0xC], [A6 + 0xC]
  5351. 000034D2  286E FFFC                movea.l    A4, [A6 - 0x4]
  5352. 000034D6  4E5E                     unlink     A6
  5353. 000034D8  4E75                     rts
  5354. export_65:
  5355. fn000034DA:
  5356. 000034DA  4E56 0000                link       A6, 0
  5357. 000034DE  48E7 0308                movem.l    -[A7], D6,D7,A4
  5358. 000034E2  49ED EFF8                lea.l      A4, [A5 - 0x1008]
  5359. 000034E6  3C2E 000E                move.w     D6, [A6 + 0xE]
  5360. 000034EA  3E2E 000A                move.w     D7, [A6 + 0xA]
  5361. 000034EE  6D18                     blt        +0x1A /* 00003508 */
  5362. 000034F0  0C47 000A                cmpi.w     D7, 0xA /* '\n' */
  5363. 000034F4  6C12                     bge        +0x14 /* 00003508 */
  5364. 000034F6  2007                     move.l     D0, D7
  5365. 000034F8  D040                     add.w      D0, D0
  5366. 000034FA  3986 0000                move.w     [A4 + D0.w], D6
  5367. 000034FE  6718                     beq        +0x1A /* 00003518 */
  5368. 00003500  3B7C 0001 F014           move.w     [A5 - 0xFEC], 0x1
  5369. 00003506  6010                     bra        +0x12 /* 00003518 */
  5370. label00003508:
  5371. 00003508  486D EE80                pea.l      [A5 - 0x1180]
  5372. 0000350C  2F3C FFFF FC18           move.l     -[A7], 0xFFFFFC18
  5373. 00003512  4EBA FA92                jsr        [PC - 0x56E /* 00002FA6 */]
  5374. 00003516  504F                     addq.w     A7, 8
  5375. label00003518:
  5376. 00003518  4CEE 10C0 FFF4           movem.l    D6,D7,A4, [A6 - 0xC]
  5377. 0000351E  4E5E                     unlink     A6
  5378. 00003520  4E75                     rts
  5379. export_66:
  5380. 00003522  4E56 0000                link       A6, 0
  5381. 00003526  2F0C                     move.l     -[A7], A4
  5382. 00003528  302E 0008                move.w     D0, [A6 + 0x8]
  5383. 0000352C  48C0                     ext.l      D0
  5384. 0000352E  2F00                     move.l     -[A7], D0
  5385. 00003530  4EBA FDE8                jsr        [PC - 0x218 /* 0000331A */]
  5386. 00003534  4A00                     tst.b      D0
  5387. 00003536  584F                     addq.w     A7, 4
  5388. 00003538  6612                     bne        +0x14 /* 0000354C */
  5389. 0000353A  486D EE8A                pea.l      [A5 - 0x1176]
  5390. 0000353E  2F3C FFFF FC18           move.l     -[A7], 0xFFFFFC18
  5391. 00003544  4EBA FA60                jsr        [PC - 0x5A0 /* 00002FA6 */]
  5392. 00003548  504F                     addq.w     A7, 8
  5393. 0000354A  601E                     bra        +0x20 /* 0000356A */
  5394. label0000354C:
  5395. 0000354C  302E 0008                move.w     D0, [A6 + 0x8]
  5396. 00003550  48C0                     ext.l      D0
  5397. 00003552  2F00                     move.l     -[A7], D0
  5398. 00003554  4EBA FC9C                jsr        [PC - 0x364 /* 000031F2 */]
  5399. 00003558  2840                     movea.l    A4, D0
  5400. 0000355A  41EE 0008                lea.l      A0, [A6 + 0x8]
  5401. 0000355E  224C                     movea.l    A1, A4
  5402. 00003560  7004                     moveq.l    D0, 0x04
  5403. label00003562:
  5404. 00003562  22D8                     move.l     [A1]+, [A0]+
  5405. 00003564  51C8 FFFC                dbf        D0, -0x6 /* 00003562 */
  5406. 00003568  584F                     addq.w     A7, 4
  5407. label0000356A:
  5408. 0000356A  286E FFFC                movea.l    A4, [A6 - 0x4]
  5409. 0000356E  4E5E                     unlink     A6
  5410. 00003570  4E75                     rts
  5411. export_67:
  5412. 00003572  4E56 0000                link       A6, 0
  5413. 00003576  3B6E 000A F010           move.w     [A5 - 0xFF0], [A6 + 0xA]
  5414. 0000357C  4E5E                     unlink     A6
  5415. 0000357E  4E75                     rts
  5416. fn00003580:
  5417. 00003580  4E56 0000                link       A6, 0
  5418. 00003584  3B6E 000A F01C           move.w     [A5 - 0xFE4], [A6 + 0xA]
  5419. 0000358A  4E5E                     unlink     A6
  5420. 0000358C  4E75                     rts
  5421. fn0000358E:
  5422. 0000358E  4E56 0000                link       A6, 0
  5423. 00003592  3B6E 000A F01A           move.w     [A5 - 0xFE6], [A6 + 0xA]
  5424. 00003598  4E5E                     unlink     A6
  5425. 0000359A  4E75                     rts
  5426. export_68:
  5427. 0000359C  4E56 0000                link       A6, 0
  5428. 000035A0  2F0C                     move.l     -[A7], A4
  5429. 000035A2  302E 000A                move.w     D0, [A6 + 0xA]
  5430. 000035A6  48C0                     ext.l      D0
  5431. 000035A8  2F00                     move.l     -[A7], D0
  5432. 000035AA  4EBA FC46                jsr        [PC - 0x3BA /* 000031F2 */]
  5433. 000035AE  2840                     movea.l    A4, D0
  5434. 000035B0  296E 000C 0010           move.l     [A4 + 0x10], [A6 + 0xC]
  5435. 000035B6  286E FFFC                movea.l    A4, [A6 - 0x4]
  5436. 000035BA  4E5E                     unlink     A6
  5437. 000035BC  4E75                     rts
  5438. export_69:
  5439. fn000035BE:
  5440. 000035BE  4E56 0000                link       A6, 0
  5441. 000035C2  2F0C                     move.l     -[A7], A4
  5442. 000035C4  302E 000A                move.w     D0, [A6 + 0xA]
  5443. 000035C8  48C0                     ext.l      D0
  5444. 000035CA  2F00                     move.l     -[A7], D0
  5445. 000035CC  4EBA FC24                jsr        [PC - 0x3DC /* 000031F2 */]
  5446. 000035D0  2840                     movea.l    A4, D0
  5447. 000035D2  396E 000E 0004           move.w     [A4 + 0x4], [A6 + 0xE]
  5448. 000035D8  286E FFFC                movea.l    A4, [A6 - 0x4]
  5449. 000035DC  4E5E                     unlink     A6
  5450. 000035DE  4E75                     rts
  5451. export_70:
  5452. 000035E0  4E56 0000                link       A6, 0
  5453. 000035E4  2F0C                     move.l     -[A7], A4
  5454. 000035E6  302E 000A                move.w     D0, [A6 + 0xA]
  5455. 000035EA  48C0                     ext.l      D0
  5456. 000035EC  2F00                     move.l     -[A7], D0
  5457. 000035EE  4EBA FC02                jsr        [PC - 0x3FE /* 000031F2 */]
  5458. 000035F2  2840                     movea.l    A4, D0
  5459. 000035F4  302E 000E                move.w     D0, [A6 + 0xE]
  5460. 000035F8  48C0                     ext.l      D0
  5461. 000035FA  2940 000C                move.l     [A4 + 0xC], D0
  5462. 000035FE  2940 0008                move.l     [A4 + 0x8], D0
  5463. 00003602  286E FFFC                movea.l    A4, [A6 - 0x4]
  5464. 00003606  4E5E                     unlink     A6
  5465. 00003608  4E75                     rts
  5466. export_71:
  5467. 0000360A  4E56 0000                link       A6, 0
  5468. 0000360E  48E7 0108                movem.l    -[A7], D7,A4
  5469. 00003612  3E2E 000E                move.w     D7, [A6 + 0xE]
  5470. 00003616  302E 000A                move.w     D0, [A6 + 0xA]
  5471. 0000361A  48C0                     ext.l      D0
  5472. 0000361C  2F00                     move.l     -[A7], D0
  5473. 0000361E  4EBA FBD2                jsr        [PC - 0x42E /* 000031F2 */]
  5474. 00003622  2840                     movea.l    A4, D0
  5475. 00003624  3947 0006                move.w     [A4 + 0x6], D7
  5476. 00003628  0C47 0001                cmpi.w     D7, 0x1
  5477. 0000362C  6606                     bne        +0x8 /* 00003634 */
  5478. 0000362E  3B7C 0001 F014           move.w     [A5 - 0xFEC], 0x1
  5479. label00003634:
  5480. 00003634  4CEE 1080 FFF8           movem.l    D7,A4, [A6 - 0x8]
  5481. 0000363A  4E5E                     unlink     A6
  5482. 0000363C  4E75                     rts
  5483. fn0000363E:
  5484. 0000363E  4E56 0000                link       A6, 0
  5485. 00003642  48E7 0300                movem.l    -[A7], D6,D7
  5486. 00003646  4247                     clr.w      D7
  5487. 00003648  4A2D F018                tst.b      [A5 - 0xFE8]
  5488. 0000364C  6700 00AE                beq        +0xB0 /* 000036FC */
  5489. 00003650  598F                     subq.l     A7, 4
  5490. 00003652  A975                     syscall    TickCount
  5491. 00003654  201F                     move.l     D0, [A7]+
  5492. 00003656  E288                     lsr        D0, 1
  5493. 00003658  2C00                     move.l     D6, D0
  5494. 0000365A  202D EEAA                move.l     D0, [A5 - 0x1156]
  5495. 0000365E  52AD EEAA                addq.l     [A5 - 0x1156], 1
  5496. 00003662  4AAD EE92                tst.l      [A5 - 0x116E]
  5497. 00003666  6608                     bne        +0xA /* 00003670 */
  5498. 00003668  2B46 EE92                move.l     [A5 - 0x116E], D6
  5499. 0000366C  2B46 EE9A                move.l     [A5 - 0x1166], D6
  5500. label00003670:
  5501. 00003670  7010                     moveq.l    D0, 0x10
  5502. 00003672  C06D F010                and.w      D0, [A5 - 0xFF0]
  5503. 00003676  6704                     beq        +0x6 /* 0000367C */
  5504. 00003678  0647 0010                addi.w     D7, 0x10
  5505. label0000367C:
  5506. 0000367C  4A6D F014                tst.w      [A5 - 0xFEC]
  5507. 00003680  6706                     beq        +0x8 /* 00003688 */
  5508. 00003682  5247                     addq.w     D7, 1
  5509. 00003684  426D F014                clr.w      [A5 - 0xFEC]
  5510. label00003688:
  5511. 00003688  BCAD EE92                cmp.l      D6, [A5 - 0x116E]
  5512. 0000368C  6360                     bls        +0x62 /* 000036EE */
  5513. 0000368E  202D EE92                move.l     D0, [A5 - 0x116E]
  5514. 00003692  5280                     addq.l     D0, 1
  5515. 00003694  B086                     cmp.l      D0, D6
  5516. 00003696  6C14                     bge        +0x16 /* 000036AC */
  5517. 00003698  202D EEA2                move.l     D0, [A5 - 0x115E]
  5518. 0000369C  52AD EEA2                addq.l     [A5 - 0x115E], 1
  5519. 000036A0  2006                     move.l     D0, D6
  5520. 000036A2  90AD EE92                sub.l      D0, [A5 - 0x116E]
  5521. 000036A6  5380                     subq.l     D0, 1
  5522. 000036A8  D1AD EEA6                add.l      [A5 - 0x115A], D0
  5523. label000036AC:
  5524. 000036AC  2B46 EE92                move.l     [A5 - 0x116E], D6
  5525. 000036B0  202D EE96                move.l     D0, [A5 - 0x116A]
  5526. 000036B4  52AD EE96                addq.l     [A5 - 0x116A], 1
  5527. 000036B8  5447                     addq.w     D7, 2
  5528. 000036BA  701E                     moveq.l    D0, 0x1E
  5529. 000036BC  B0AD EE96                cmp.l      D0, [A5 - 0x116A]
  5530. 000036C0  622C                     bhi        +0x2E /* 000036EE */
  5531. 000036C2  5847                     addq.w     D7, 4
  5532. 000036C4  202D EE9E                move.l     D0, [A5 - 0x1162]
  5533. 000036C8  52AD EE9E                addq.l     [A5 - 0x1162], 1
  5534. 000036CC  7000                     moveq.l    D0, 0x00
  5535. 000036CE  2B40 EE96                move.l     [A5 - 0x116A], D0
  5536. 000036D2  723C                     moveq.l    D1, 0x3C
  5537. 000036D4  B2AD EE9E                cmp.l      D1, [A5 - 0x1162]
  5538. 000036D8  6E14                     bgt        +0x16 /* 000036EE */
  5539. 000036DA  5047                     addq.w     D7, 8
  5540. 000036DC  7000                     moveq.l    D0, 0x00
  5541. 000036DE  2B40 EE9E                move.l     [A5 - 0x1162], D0
  5542. 000036E2  2B40 EEA2                move.l     [A5 - 0x115E], D0
  5543. 000036E6  2B40 EEA6                move.l     [A5 - 0x115A], D0
  5544. 000036EA  2B40 EEAA                move.l     [A5 - 0x1156], D0
  5545. label000036EE:
  5546. 000036EE  4A47                     tst.w      D7
  5547. 000036F0  670A                     beq        +0xC /* 000036FC */
  5548. 000036F2  48C7                     ext.l      D7
  5549. 000036F4  2F07                     move.l     -[A7], D7
  5550. 000036F6  4EBA FA44                jsr        [PC - 0x5BC /* 0000313C */]
  5551. 000036FA  584F                     addq.w     A7, 4
  5552. label000036FC:
  5553. 000036FC  4CEE 00C0 FFF8           movem.l    D6,D7, [A6 - 0x8]
  5554. 00003702  4E5E                     unlink     A6
  5555. 00003704  4E75                     rts
  5556. fn00003706:
  5557. 00003706  4E56 0000                link       A6, 0
  5558. 0000370A  48E7 1118                movem.l    -[A7], D3,D7,A3,A4
  5559. 0000370E  47ED EEAE                lea.l      A3, [A5 - 0x1152]
  5560. 00003712  1B7C 0001 F018           move.b     [A5 - 0xFE8], 0x1
  5561. 00003718  3B7C FFFF F01C           move.w     [A5 - 0xFE4], 0xFFFF
  5562. 0000371E  3B7C FFFF F01A           move.w     [A5 - 0xFE6], 0xFFFF
  5563. 00003724  4EBA FC58                jsr        [PC - 0x3A8 /* 0000337E */]
  5564. 00003728  4EBA FC2C                jsr        [PC - 0x3D4 /* 00003356 */]
  5565. 0000372C  3B7C FFFF F010           move.w     [A5 - 0xFF0], 0xFFFF
  5566. 00003732  3B7C 0001 F014           move.w     [A5 - 0xFEC], 0x1
  5567. 00003738  49D3                     lea.l      A4, [A3]
  5568. 0000373A  4247                     clr.w      D7
  5569. 0000373C  7610                     moveq.l    D3, 0x10
  5570. label0000373E:
  5571. 0000373E  38BC FFFF                move.w     [A4], 0xFFFF
  5572. 00003742  49EC 0014                lea.l      A4, [A4 + 0x14]
  5573. 00003746  3007                     move.w     D0, D7
  5574. 00003748  5247                     addq.w     D7, 1
  5575. 0000374A  B647                     cmp.w      D3, D7
  5576. 0000374C  6EF0                     bgt        -0xE /* 0000373E */
  5577. 0000374E  4CEE 1888 FFF0           movem.l    D3,D7,A3,A4, [A6 - 0x10]
  5578. 00003754  4E5E                     unlink     A6
  5579. 00003756  4E75                     rts
  5580. export_72:
  5581. fn00003758:
  5582. 00003758  4E56 0000                link       A6, 0
  5583. 0000375C  7000                     moveq.l    D0, 0x00
  5584. 0000375E  4AAE 0008                tst.l      [A6 + 0x8]
  5585. 00003762  56C0                     sne        D0
  5586. 00003764  4400                     neg.b      D0
  5587. 00003766  1B40 F018                move.b     [A5 - 0xFE8], D0
  5588. 0000376A  4E5E                     unlink     A6
  5589. 0000376C  4E75                     rts
  5590. fn0000376E:
  5591. 0000376E  4E56 0000                link       A6, 0
  5592. 00003772  486D 06F2                pea.l      [A5 + 0x6F2 /* export_218 */]
  5593. 00003776  A9F1                     syscall    UnloadSeg
  5594. 00003778  A063                     syscall    MaxApplZone
  5595. 0000377A  4EAD 0492                jsr        [A5 + 0x492 /* export_142 */]
  5596. 0000377E  4EAD 063A                jsr        [A5 + 0x63A /* export_195 */]
  5597. 00003782  4EAD 057A                jsr        [A5 + 0x57A /* export_171 */]
  5598. 00003786  4EAD 05CA                jsr        [A5 + 0x5CA /* export_181 */]
  5599. 0000378A  486D 05CA                pea.l      [A5 + 0x5CA /* export_181 */]
  5600. 0000378E  A9F1                     syscall    UnloadSeg
  5601. 00003790  4EAD 05AA                jsr        [A5 + 0x5AA /* export_177 */]
  5602. 00003794  4EBA FF70                jsr        [PC - 0x90 /* 00003706 */]
  5603. 00003798  41ED FDA0                lea.l      A0, [A5 - 0x260]
  5604. 0000379C  7009                     moveq.l    D0, 0x09
  5605. label0000379E:
  5606. 0000379E  3F20                     move.w     -[A7], -[A0]
  5607. 000037A0  51C8 FFFC                dbf        D0, -0x6 /* 0000379E */
  5608. 000037A4  4EBA FA98                jsr        [PC - 0x568 /* 0000323E */]
  5609. 000037A8  4A6D FDA4                tst.w      [A5 - 0x25C]
  5610. 000037AC  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5611. 000037B0  6704                     beq        +0x6 /* 000037B6 */
  5612. 000037B2  4EBA 1504                jsr        [PC + 0x1504 /* 00004CB8 */]
  5613. label000037B6:
  5614. 000037B6  4EBA 083C                jsr        [PC + 0x83C /* 00003FF4 */]
  5615. 000037BA  4E5E                     unlink     A6
  5616. 000037BC  4E75                     rts
  5617. fn000037BE:
  5618. 000037BE  4E56 0000                link       A6, 0
  5619. 000037C2  2F07                     move.l     -[A7], D7
  5620. 000037C4  3E2E 000A                move.w     D7, [A6 + 0xA]
  5621. 000037C8  0C47 0001                cmpi.w     D7, 0x1
  5622. 000037CC  6604                     bne        +0x6 /* 000037D2 */
  5623. 000037CE  7E02                     moveq.l    D7, 0x02
  5624. 000037D0  6002                     bra        +0x4 /* 000037D4 */
  5625. label000037D2:
  5626. 000037D2  7E01                     moveq.l    D7, 0x01
  5627. label000037D4:
  5628. 000037D4  422D DBD4                clr.b      [A5 - 0x242C]
  5629. 000037D8  48C7                     ext.l      D7
  5630. 000037DA  2F07                     move.l     -[A7], D7
  5631. 000037DC  7064                     moveq.l    D0, 0x64
  5632. 000037DE  2F00                     move.l     -[A7], D0
  5633. 000037E0  4EBA FDDC                jsr        [PC - 0x224 /* 000035BE */]
  5634. 000037E4  7001                     moveq.l    D0, 0x01
  5635. 000037E6  2F00                     move.l     -[A7], D0
  5636. 000037E8  7202                     moveq.l    D1, 0x02
  5637. 000037EA  2F01                     move.l     -[A7], D1
  5638. 000037EC  4EBA FCEC                jsr        [PC - 0x314 /* 000034DA */]
  5639. 000037F0  2E2E FFFC                move.l     D7, [A6 - 0x4]
  5640. 000037F4  4E5E                     unlink     A6
  5641. 000037F6  4E75                     rts
  5642. fn000037F8:
  5643. 000037F8  4E56 0000                link       A6, 0
  5644. 000037FC  70FF                     moveq.l    D0, 0xFFFFFFFF
  5645. 000037FE  2F00                     move.l     -[A7], D0
  5646. 00003800  4EAD 0452                jsr        [A5 + 0x452 /* export_134 */]
  5647. 00003804  4EAD 045A                jsr        [A5 + 0x45A /* export_135 */]
  5648. 00003808  206D DCD6                movea.l    A0, [A5 - 0x232A]
  5649. 0000380C  4868 0010                pea.l      [A0 + 0x10]
  5650. 00003810  A92A                     syscall    ValidRect
  5651. 00003812  2F2D DCD6                move.l     -[A7], [A5 - 0x232A]
  5652. 00003816  A969                     syscall    DrawControls
  5653. 00003818  2F2D DCAA                move.l     -[A7], [A5 - 0x2356]
  5654. 0000381C  4EBA CCA0                jsr        [PC - 0x3360 /* 000004BE */]
  5655. 00003820  4E5E                     unlink     A6
  5656. 00003822  4E75                     rts
  5657. fn00003824:
  5658. 00003824  4E56 FFF8                link       A6, -0x0008
  5659. 00003828  48E7 0118                movem.l    -[A7], D7,A3,A4
  5660. 0000382C  266E 0008                movea.l    A3, [A6 + 0x8]
  5661. 00003830  286E 000C                movea.l    A4, [A6 + 0xC]
  5662. 00003834  598F                     subq.l     A7, 4
  5663. 00003836  A924                     syscall    FrontWindow
  5664. 00003838  B9DF                     cmpa.l     A4, [A7]+
  5665. 0000383A  6708                     beq        +0xA /* 00003844 */
  5666. 0000383C  2F0C                     move.l     -[A7], A4
  5667. 0000383E  A91F                     syscall    SelectWindow
  5668. 00003840  6000 00AE                bra        +0xB0 /* 000038F0 */
  5669. label00003844:
  5670. 00003844  2F0C                     move.l     -[A7], A4
  5671. 00003846  A873                     syscall    SetPort
  5672. 00003848  2D6B 000A FFFC           move.l     [A6 - 0x4], [A3 + 0xA]
  5673. 0000384E  486E FFFC                pea.l      [A6 - 0x4]
  5674. 00003852  A871                     syscall    GlobalToLocal
  5675. 00003854  558F                     subq.l     A7, 2
  5676. 00003856  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  5677. 0000385A  2F0C                     move.l     -[A7], A4
  5678. 0000385C  486E FFF8                pea.l      [A6 - 0x8]
  5679. 00003860  A96C                     syscall    FindControl
  5680. 00003862  3E1F                     move.w     D7, [A7]+
  5681. 00003864  6618                     bne        +0x1A /* 0000387E */
  5682. 00003866  0C6E 011E FFFC           cmpi.w     [A6 - 0x4], 0x11E
  5683. 0000386C  6E00 0082                bgt        +0x84 /* 000038F0 */
  5684. 00003870  2F2B 000A                move.l     -[A7], [A3 + 0xA]
  5685. 00003874  2F0C                     move.l     -[A7], A4
  5686. 00003876  4EBA F3D8                jsr        [PC - 0xC28 /* 00002C50 */]
  5687. 0000387A  504F                     addq.w     A7, 8
  5688. 0000387C  6072                     bra        +0x74 /* 000038F0 */
  5689. label0000387E:
  5690. 0000387E  558F                     subq.l     A7, 2
  5691. 00003880  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  5692. 00003884  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  5693. 00003888  7000                     moveq.l    D0, 0x00
  5694. 0000388A  2F00                     move.l     -[A7], D0
  5695. 0000388C  A968                     syscall    TrackControl
  5696. 0000388E  4A5F                     tst.w      [A7]+
  5697. 00003890  675E                     beq        +0x60 /* 000038F0 */
  5698. 00003892  202E FFF8                move.l     D0, [A6 - 0x8]
  5699. 00003896  B0AD DCA2                cmp.l      D0, [A5 - 0x235E]
  5700. 0000389A  670A                     beq        +0xC /* 000038A6 */
  5701. 0000389C  202E FFF8                move.l     D0, [A6 - 0x8]
  5702. 000038A0  B0AD DCB2                cmp.l      D0, [A5 - 0x234E]
  5703. 000038A4  660C                     bne        +0xE /* 000038B2 */
  5704. label000038A6:
  5705. 000038A6  4A2D DDF2                tst.b      [A5 - 0x220E]
  5706. 000038AA  6606                     bne        +0x8 /* 000038B2 */
  5707. 000038AC  4EBA 1386                jsr        [PC + 0x1386 /* 00004C34 */]
  5708. 000038B0  603E                     bra        +0x40 /* 000038F0 */
  5709. label000038B2:
  5710. 000038B2  202E FFF8                move.l     D0, [A6 - 0x8]
  5711. 000038B6  B0AD DCAA                cmp.l      D0, [A5 - 0x2356]
  5712. 000038BA  6606                     bne        +0x8 /* 000038C2 */
  5713. 000038BC  4EBA 0CA8                jsr        [PC + 0xCA8 /* 00004566 */]
  5714. 000038C0  602E                     bra        +0x30 /* 000038F0 */
  5715. label000038C2:
  5716. 000038C2  202E FFF8                move.l     D0, [A6 - 0x8]
  5717. 000038C6  B0AD DCA6                cmp.l      D0, [A5 - 0x235A]
  5718. 000038CA  6610                     bne        +0x12 /* 000038DC */
  5719. 000038CC  4EBA 0C98                jsr        [PC + 0xC98 /* 00004566 */]
  5720. 000038D0  1B7C 0001 DC9A           move.b     [A5 - 0x2366], 0x1
  5721. 000038D6  422D DBD4                clr.b      [A5 - 0x242C]
  5722. 000038DA  6014                     bra        +0x16 /* 000038F0 */
  5723. label000038DC:
  5724. 000038DC  202E FFF8                move.l     D0, [A6 - 0x8]
  5725. 000038E0  B0AD DCAE                cmp.l      D0, [A5 - 0x2352]
  5726. 000038E4  660A                     bne        +0xC /* 000038F0 */
  5727. 000038E6  4EAD 06E2                jsr        [A5 + 0x6E2 /* export_216 */]
  5728. 000038EA  486D 06E2                pea.l      [A5 + 0x6E2 /* export_216 */]
  5729. 000038EE  A9F1                     syscall    UnloadSeg
  5730. label000038F0:
  5731. 000038F0  4CEE 1880 FFEC           movem.l    D7,A3,A4, [A6 - 0x14]
  5732. 000038F6  4E5E                     unlink     A6
  5733. 000038F8  4E75                     rts
  5734. fn000038FA:
  5735. 000038FA  4E56 0000                link       A6, 0
  5736. 000038FE  598F                     subq.l     A7, 4
  5737. 00003900  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  5738. 00003904  A949                     syscall    GetMenuHandle
  5739. 00003906  7000                     moveq.l    D0, 0x00
  5740. 00003908  3F00                     move.w     -[A7], D0
  5741. 0000390A  A93A                     syscall    DisableItem
  5742. 0000390C  4E5E                     unlink     A6
  5743. 0000390E  4E75                     rts
  5744. fn00003910:
  5745. 00003910  4E56 0000                link       A6, 0
  5746. 00003914  48E7 1308                movem.l    -[A7], D3,D6,D7,A4
  5747. 00003918  1C2E 000F                move.b     D6, [A6 + 0xF]
  5748. 0000391C  202E 0008                move.l     D0, [A6 + 0x8]
  5749. 00003920  B0AD DCD6                cmp.l      D0, [A5 - 0x232A]
  5750. 00003924  6600 00C4                bne        +0xC6 /* 000039EA */
  5751. 00003928  598F                     subq.l     A7, 4
  5752. 0000392A  3F3C 03E9                move.w     -[A7], 0x3E9
  5753. 0000392E  A949                     syscall    GetMenuHandle
  5754. 00003930  285F                     movea.l    A4, [A7]+
  5755. 00003932  4A06                     tst.b      D6
  5756. 00003934  675C                     beq        +0x5E /* 00003992 */
  5757. 00003936  4A2D FD8A                tst.b      [A5 - 0x276]
  5758. 0000393A  6756                     beq        +0x58 /* 00003992 */
  5759. 0000393C  422D FD8A                clr.b      [A5 - 0x276]
  5760. 00003940  7064                     moveq.l    D0, 0x64
  5761. 00003942  2F00                     move.l     -[A7], D0
  5762. 00003944  4EBA FB0E                jsr        [PC - 0x4F2 /* 00003454 */]
  5763. 00003948  3E00                     move.w     D7, D0
  5764. 0000394A  0C47 0004                cmpi.w     D7, 0x4
  5765. 0000394E  584F                     addq.w     A7, 4
  5766. 00003950  670C                     beq        +0xE /* 0000395E */
  5767. 00003952  0C47 0006                cmpi.w     D7, 0x6
  5768. 00003956  6706                     beq        +0x8 /* 0000395E */
  5769. 00003958  0C47 0005                cmpi.w     D7, 0x5
  5770. 0000395C  660A                     bne        +0xC /* 00003968 */
  5771. label0000395E:
  5772. 0000395E  2F0C                     move.l     -[A7], A4
  5773. 00003960  7001                     moveq.l    D0, 0x01
  5774. 00003962  3F00                     move.w     -[A7], D0
  5775. 00003964  A939                     syscall    EnableItem
  5776. 00003966  6008                     bra        +0xA /* 00003970 */
  5777. label00003968:
  5778. 00003968  2F0C                     move.l     -[A7], A4
  5779. 0000396A  7001                     moveq.l    D0, 0x01
  5780. 0000396C  3F00                     move.w     -[A7], D0
  5781. 0000396E  A93A                     syscall    DisableItem
  5782. label00003970:
  5783. 00003970  4878 03EA                push.l     0x3EA
  5784. 00003974  4EBA FF84                jsr        [PC - 0x7C /* 000038FA */]
  5785. 00003978  4878 03EB                push.l     0x3EB
  5786. 0000397C  4EBA 0660                jsr        [PC + 0x660 /* 00003FDE */]
  5787. 00003980  4878 03EC                push.l     0x3EC
  5788. 00003984  4EBA 0658                jsr        [PC + 0x658 /* 00003FDE */]
  5789. 00003988  A937                     syscall    DrawMenuBar
  5790. 0000398A  A850                     syscall    InitCursor
  5791. 0000398C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5792. 00003990  603E                     bra        +0x40 /* 000039D0 */
  5793. label00003992:
  5794. 00003992  4A06                     tst.b      D6
  5795. 00003994  663A                     bne        +0x3C /* 000039D0 */
  5796. 00003996  4A2D FD8A                tst.b      [A5 - 0x276]
  5797. 0000399A  6634                     bne        +0x36 /* 000039D0 */
  5798. 0000399C  1B7C 0001 FD8A           move.b     [A5 - 0x276], 0x1
  5799. 000039A2  2F0C                     move.l     -[A7], A4
  5800. 000039A4  7001                     moveq.l    D0, 0x01
  5801. 000039A6  3F00                     move.w     -[A7], D0
  5802. 000039A8  A93A                     syscall    DisableItem
  5803. 000039AA  4878 03EA                push.l     0x3EA
  5804. 000039AE  4EBA 062E                jsr        [PC + 0x62E /* 00003FDE */]
  5805. 000039B2  4878 03EB                push.l     0x3EB
  5806. 000039B6  4EBA FF42                jsr        [PC - 0xBE /* 000038FA */]
  5807. 000039BA  4878 03EC                push.l     0x3EC
  5808. 000039BE  4EBA FF3A                jsr        [PC - 0xC6 /* 000038FA */]
  5809. 000039C2  4EAD 05BA                jsr        [A5 + 0x5BA /* export_179 */]
  5810. 000039C6  4EAD 059A                jsr        [A5 + 0x59A /* export_175 */]
  5811. 000039CA  A937                     syscall    DrawMenuBar
  5812. 000039CC  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5813. label000039D0:
  5814. 000039D0  7600                     moveq.l    D3, 0x00
  5815. 000039D2  4A06                     tst.b      D6
  5816. 000039D4  6708                     beq        +0xA /* 000039DE */
  5817. 000039D6  4A2D DB94                tst.b      [A5 - 0x246C]
  5818. 000039DA  6602                     bne        +0x4 /* 000039DE */
  5819. 000039DC  7601                     moveq.l    D3, 0x01
  5820. label000039DE:
  5821. 000039DE  4883                     ext.w      D3
  5822. 000039E0  48C3                     ext.l      D3
  5823. 000039E2  2F03                     move.l     -[A7], D3
  5824. 000039E4  4EBA FD72                jsr        [PC - 0x28E /* 00003758 */]
  5825. 000039E8  584F                     addq.w     A7, 4
  5826. label000039EA:
  5827. 000039EA  4CEE 10C8 FFF0           movem.l    D3,D6,D7,A4, [A6 - 0x10]
  5828. 000039F0  4E5E                     unlink     A6
  5829. 000039F2  4E75                     rts
  5830. fn000039F4:
  5831. 000039F4  4E56 0000                link       A6, 0
  5832. 000039F8  2F0C                     move.l     -[A7], A4
  5833. 000039FA  286E 0008                movea.l    A4, [A6 + 0x8]
  5834. 000039FE  B9ED DCD6                cmpa.l     A4, [A5 - 0x232A]
  5835. 00003A02  6606                     bne        +0x8 /* 00003A0A */
  5836. 00003A04  2F0C                     move.l     -[A7], A4
  5837. 00003A06  A92D                     syscall    CloseWindow
  5838. 00003A08  6012                     bra        +0x14 /* 00003A1C */
  5839. label00003A0A:
  5840. 00003A0A  2F0C                     move.l     -[A7], A4
  5841. 00003A0C  4EBA 08B2                jsr        [PC + 0x8B2 /* 000042C0 */]
  5842. 00003A10  4A00                     tst.b      D0
  5843. 00003A12  584F                     addq.w     A7, 4
  5844. 00003A14  6706                     beq        +0x8 /* 00003A1C */
  5845. 00003A16  3F2C 006C                move.w     -[A7], [A4 + 0x6C]
  5846. 00003A1A  A9B7                     syscall    CloseDeskAcc
  5847. label00003A1C:
  5848. 00003A1C  286E FFFC                movea.l    A4, [A6 - 0x4]
  5849. 00003A20  4E5E                     unlink     A6
  5850. 00003A22  4E75                     rts
  5851. fn00003A24:
  5852. 00003A24  4E56 FCFE                link       A6, -0x0302
  5853. 00003A28  48E7 0118                movem.l    -[A7], D7,A3,A4
  5854. 00003A2C  486E FD00                pea.l      [A6 - 0x300]
  5855. 00003A30  3F3C 0839                move.w     -[A7], 0x839
  5856. 00003A34  7001                     moveq.l    D0, 0x01
  5857. 00003A36  3F00                     move.w     -[A7], D0
  5858. 00003A38  4EBA 21A6                jsr        [PC + 0x21A6 /* 00005BE0 */]
  5859. 00003A3C  598F                     subq.l     A7, 4
  5860. 00003A3E  2F3C 4D45 4343           move.l     -[A7], 0x4D454343 /* 'MECC' */
  5861. 00003A44  7000                     moveq.l    D0, 0x00
  5862. 00003A46  3F00                     move.w     -[A7], D0
  5863. 00003A48  A9A0                     syscall    GetResource
  5864. 00003A4A  285F                     movea.l    A4, [A7]+
  5865. 00003A4C  200C                     move.l     D0, A4
  5866. 00003A4E  6618                     bne        +0x1A /* 00003A68 */
  5867. 00003A50  486D FCFE                pea.l      [A5 - 0x302]
  5868. 00003A54  558F                     subq.l     A7, 2
  5869. 00003A56  A9AF                     syscall    ResError
  5870. 00003A58  301F                     move.w     D0, [A7]+
  5871. 00003A5A  48C0                     ext.l      D0
  5872. 00003A5C  2F00                     move.l     -[A7], D0
  5873. 00003A5E  4EBA F546                jsr        [PC - 0xABA /* 00002FA6 */]
  5874. 00003A62  504F                     addq.w     A7, 8
  5875. 00003A64  6000 0084                bra        +0x86 /* 00003AEA */
  5876. label00003A68:
  5877. 00003A68  2054                     movea.l    A0, [A4]
  5878. 00003A6A  4868 0010                pea.l      [A0 + 0x10]
  5879. 00003A6E  486E FE00                pea.l      [A6 - 0x200]
  5880. 00003A72  4EBA C99E                jsr        [PC - 0x3662 /* 00000412 */]
  5881. 00003A76  2F0C                     move.l     -[A7], A4
  5882. 00003A78  A9A3                     syscall    ReleaseResource
  5883. 00003A7A  558F                     subq.l     A7, 2
  5884. 00003A7C  A9AF                     syscall    ResError
  5885. 00003A7E  3E1F                     move.w     D7, [A7]+
  5886. 00003A80  670E                     beq        +0x10 /* 00003A90 */
  5887. 00003A82  486D FD1C                pea.l      [A5 - 0x2E4]
  5888. 00003A86  48C7                     ext.l      D7
  5889. 00003A88  2F07                     move.l     -[A7], D7
  5890. 00003A8A  4EBA F51A                jsr        [PC - 0xAE6 /* 00002FA6 */]
  5891. 00003A8E  504F                     addq.w     A7, 8
  5892. label00003A90:
  5893. 00003A90  204C                     movea.l    A0, A4
  5894. 00003A92  A023                     syscall    DisposHandle/DisposeHandle
  5895. 00003A94  486E FF00                pea.l      [A6 - 0x100]
  5896. 00003A98  3F3C 0839                move.w     -[A7], 0x839
  5897. 00003A9C  7002                     moveq.l    D0, 0x02
  5898. 00003A9E  3F00                     move.w     -[A7], D0
  5899. 00003AA0  4EBA 213E                jsr        [PC + 0x213E /* 00005BE0 */]
  5900. 00003AA4  486E FD00                pea.l      [A6 - 0x300]
  5901. 00003AA8  486E FE00                pea.l      [A6 - 0x200]
  5902. 00003AAC  486E FF00                pea.l      [A6 - 0x100]
  5903. 00003AB0  7000                     moveq.l    D0, 0x00
  5904. 00003AB2  2F00                     move.l     -[A7], D0
  5905. 00003AB4  A98B                     syscall    ParamText
  5906. 00003AB6  4878 0839                push.l     0x839
  5907. 00003ABA  4EBA D15E                jsr        [PC - 0x2EA2 /* 00000C1A */]
  5908. 00003ABE  2640                     movea.l    A3, D0
  5909. 00003AC0  7003                     moveq.l    D0, 0x03
  5910. 00003AC2  2F00                     move.l     -[A7], D0
  5911. 00003AC4  7202                     moveq.l    D1, 0x02
  5912. 00003AC6  2F01                     move.l     -[A7], D1
  5913. 00003AC8  2F0B                     move.l     -[A7], A3
  5914. 00003ACA  4EBA D02E                jsr        [PC - 0x2FD2 /* 00000AFA */]
  5915. 00003ACE  7000                     moveq.l    D0, 0x00
  5916. 00003AD0  2F00                     move.l     -[A7], D0
  5917. 00003AD2  486E FCFE                pea.l      [A6 - 0x302]
  5918. 00003AD6  A991                     syscall    ModalDialog
  5919. 00003AD8  2F0B                     move.l     -[A7], A3
  5920. 00003ADA  A983                     syscall    DisposeDialog
  5921. 00003ADC  1B7C 0001 DC9C           move.b     [A5 - 0x2364], 0x1
  5922. 00003AE2  422D FDA0                clr.b      [A5 - 0x260]
  5923. 00003AE6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5924. label00003AEA:
  5925. 00003AEA  4CEE 1880 FCF2           movem.l    D7,A3,A4, [A6 - 0x30E]
  5926. 00003AF0  4E5E                     unlink     A6
  5927. 00003AF2  4E75                     rts
  5928. export_73:
  5929. fn00003AF4:
  5930. 00003AF4  4E56 0000                link       A6, 0
  5931. 00003AF8  4EBA FB44                jsr        [PC - 0x4BC /* 0000363E */]
  5932. 00003AFC  4EBA C88E                jsr        [PC - 0x3772 /* 0000038C */]
  5933. 00003B00  4EBA D28E                jsr        [PC - 0x2D72 /* 00000D90 */]
  5934. 00003B04  4E5E                     unlink     A6
  5935. 00003B06  4E75                     rts
  5936. fn00003B08:
  5937. 00003B08  4E56 FFF8                link       A6, -0x0008
  5938. 00003B0C  48E7 0308                movem.l    -[A7], D6,D7,A4
  5939. 00003B10  286E 0008                movea.l    A4, [A6 + 0x8]
  5940. 00003B14  3014                     move.w     D0, [A4]
  5941. 00003B16  5340                     subq.w     D0, 1
  5942. 00003B18  672E                     beq        +0x30 /* 00003B48 */
  5943. 00003B1A  5540                     subq.w     D0, 2
  5944. 00003B1C  6700 00D0                beq        +0xD2 /* 00003BEE */
  5945. 00003B20  5540                     subq.w     D0, 2
  5946. 00003B22  6700 00BE                beq        +0xC0 /* 00003BE2 */
  5947. 00003B26  5340                     subq.w     D0, 1
  5948. 00003B28  6700 01C4                beq        +0x1C6 /* 00003CEE */
  5949. 00003B2C  5340                     subq.w     D0, 1
  5950. 00003B2E  6700 01F6                beq        +0x1F8 /* 00003D26 */
  5951. 00003B32  5340                     subq.w     D0, 1
  5952. 00003B34  6700 0196                beq        +0x198 /* 00003CCC */
  5953. 00003B38  5F40                     subq.w     D0, 7
  5954. 00003B3A  6700 01BE                beq        +0x1C0 /* 00003CFA */
  5955. 00003B3E  5140                     subq.w     D0, 8
  5956. 00003B40  6700 020C                beq        +0x20E /* 00003D4E */
  5957. 00003B44  6000 021C                bra        +0x21E /* 00003D62 */
  5958. label00003B48:
  5959. 00003B48  7064                     moveq.l    D0, 0x64
  5960. 00003B4A  2F00                     move.l     -[A7], D0
  5961. 00003B4C  4EBA F906                jsr        [PC - 0x6FA /* 00003454 */]
  5962. 00003B50  0C40 0006                cmpi.w     D0, 0x6
  5963. 00003B54  584F                     addq.w     A7, 4
  5964. 00003B56  6612                     bne        +0x14 /* 00003B6A */
  5965. 00003B58  2F2C 000A                move.l     -[A7], [A4 + 0xA]
  5966. 00003B5C  598F                     subq.l     A7, 4
  5967. 00003B5E  A924                     syscall    FrontWindow
  5968. 00003B60  4EBA F0EE                jsr        [PC - 0xF12 /* 00002C50 */]
  5969. 00003B64  504F                     addq.w     A7, 8
  5970. 00003B66  6000 01FA                bra        +0x1FC /* 00003D62 */
  5971. label00003B6A:
  5972. 00003B6A  558F                     subq.l     A7, 2
  5973. 00003B6C  2F2C 000A                move.l     -[A7], [A4 + 0xA]
  5974. 00003B70  486E FFFC                pea.l      [A6 - 0x4]
  5975. 00003B74  A92C                     syscall    FindWindow
  5976. 00003B76  3C1F                     move.w     D6, [A7]+
  5977. 00003B78  3006                     move.w     D0, D6
  5978. 00003B7A  5340                     subq.w     D0, 1
  5979. 00003B7C  6B00 01E4                bmi        +0x1E6 /* 00003D62 */
  5980. 00003B80  0C40 0003                cmpi.w     D0, 0x3
  5981. 00003B84  6E00 01DC                bgt        +0x1DE /* 00003D62 */
  5982. 00003B88  D040                     add.w      D0, D0
  5983. 00003B8A  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  5984. 00003B8E  4EFB 0000                jmp        [PC + D0.w]
  5985. 00003B92  000A 0024                ori.b      A2, 0x24 /* '$' */
  5986. 00003B96  0030 0040 302C           ori.b      [A0 + D3.w + 0x2C], 0x40 /* '@' */
  5987. 00003B9C  000E 48C0                ori.b      A6, 0xC0
  5988. 00003BA0  2F00                     move.l     -[A7], D0
  5989. 00003BA2  598F                     subq.l     A7, 4
  5990. 00003BA4  2F2C 000A                move.l     -[A7], [A4 + 0xA]
  5991. 00003BA8  A93D                     syscall    MenuSelect
  5992. 00003BAA  4EBA 01C0                jsr        [PC + 0x1C0 /* 00003D6C */]
  5993. 00003BAE  504F                     addq.w     A7, 8
  5994. 00003BB0  6000 01B0                bra        +0x1B2 /* 00003D62 */
  5995. 00003BB4  2F0C                     move.l     -[A7], A4
  5996. 00003BB6  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  5997. 00003BBA  A9B3                     syscall    SystemClick
  5998. 00003BBC  6000 01A4                bra        +0x1A6 /* 00003D62 */
  5999. 00003BC0  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  6000. 00003BC4  2F0C                     move.l     -[A7], A4
  6001. 00003BC6  4EBA FC5C                jsr        [PC - 0x3A4 /* 00003824 */]
  6002. 00003BCA  504F                     addq.w     A7, 8
  6003. 00003BCC  6000 0194                bra        +0x196 /* 00003D62 */
  6004. 00003BD0  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  6005. 00003BD4  2F2C 000A                move.l     -[A7], [A4 + 0xA]
  6006. 00003BD8  486D FE0A                pea.l      [A5 - 0x1F6]
  6007. 00003BDC  A925                     syscall    DragWindow
  6008. 00003BDE  6000 0182                bra        +0x184 /* 00003D62 */
  6009. label00003BE2:
  6010. 00003BE2  303C 0100                move.w     D0, 0x100
  6011. 00003BE6  C06C 000E                and.w      D0, [A4 + 0xE]
  6012. 00003BEA  6600 0176                bne        +0x178 /* 00003D62 */
  6013. label00003BEE:
  6014. 00003BEE  2C3C 0000 00FF           move.l     D6, 0xFF
  6015. 00003BF4  CCAC 0002                and.l      D6, [A4 + 0x2]
  6016. 00003BF8  303C 0100                move.w     D0, 0x100
  6017. 00003BFC  C06C 000E                and.w      D0, [A4 + 0xE]
  6018. 00003C00  671A                     beq        +0x1C /* 00003C1C */
  6019. 00003C02  302C 000E                move.w     D0, [A4 + 0xE]
  6020. 00003C06  48C0                     ext.l      D0
  6021. 00003C08  2F00                     move.l     -[A7], D0
  6022. 00003C0A  598F                     subq.l     A7, 4
  6023. 00003C0C  4886                     ext.w      D6
  6024. 00003C0E  3F06                     move.w     -[A7], D6
  6025. 00003C10  A93E                     syscall    MenuKey
  6026. 00003C12  4EBA 0158                jsr        [PC + 0x158 /* 00003D6C */]
  6027. 00003C16  504F                     addq.w     A7, 8
  6028. 00003C18  6000 0148                bra        +0x14A /* 00003D62 */
  6029. label00003C1C:
  6030. 00003C1C  7064                     moveq.l    D0, 0x64
  6031. 00003C1E  2F00                     move.l     -[A7], D0
  6032. 00003C20  4EBA F832                jsr        [PC - 0x7CE /* 00003454 */]
  6033. 00003C24  3E00                     move.w     D7, D0
  6034. 00003C26  0C47 0006                cmpi.w     D7, 0x6
  6035. 00003C2A  584F                     addq.w     A7, 4
  6036. 00003C2C  6618                     bne        +0x1A /* 00003C46 */
  6037. 00003C2E  302C 000E                move.w     D0, [A4 + 0xE]
  6038. 00003C32  48C0                     ext.l      D0
  6039. 00003C34  2F00                     move.l     -[A7], D0
  6040. 00003C36  4886                     ext.w      D6
  6041. 00003C38  48C6                     ext.l      D6
  6042. 00003C3A  2F06                     move.l     -[A7], D6
  6043. 00003C3C  4EBA EEBA                jsr        [PC - 0x1146 /* 00002AF8 */]
  6044. 00003C40  504F                     addq.w     A7, 8
  6045. 00003C42  6000 011E                bra        +0x120 /* 00003D62 */
  6046. label00003C46:
  6047. 00003C46  4A2D DDF2                tst.b      [A5 - 0x220E]
  6048. 00003C4A  6702                     beq        +0x4 /* 00003C4E */
  6049. 00003C4C  7C56                     moveq.l    D6, 0x56
  6050. label00003C4E:
  6051. 00003C4E  0C06 000D                cmpi.b     D6, 0xD /* '\r' */
  6052. 00003C52  6706                     beq        +0x8 /* 00003C5A */
  6053. 00003C54  0C06 0003                cmpi.b     D6, 0x3
  6054. 00003C58  665A                     bne        +0x5C /* 00003CB4 */
  6055. label00003C5A:
  6056. 00003C5A  0C47 0004                cmpi.w     D7, 0x4
  6057. 00003C5E  6706                     beq        +0x8 /* 00003C66 */
  6058. 00003C60  0C47 0005                cmpi.w     D7, 0x5
  6059. 00003C64  662A                     bne        +0x2C /* 00003C90 */
  6060. label00003C66:
  6061. 00003C66  4A2D DDF2                tst.b      [A5 - 0x220E]
  6062. 00003C6A  6624                     bne        +0x26 /* 00003C90 */
  6063. 00003C6C  4A2D DB94                tst.b      [A5 - 0x246C]
  6064. 00003C70  660C                     bne        +0xE /* 00003C7E */
  6065. 00003C72  2F2D DCA2                move.l     -[A7], [A5 - 0x235E]
  6066. 00003C76  4EBA 03C0                jsr        [PC + 0x3C0 /* 00004038 */]
  6067. 00003C7A  584F                     addq.w     A7, 4
  6068. 00003C7C  600A                     bra        +0xC /* 00003C88 */
  6069. label00003C7E:
  6070. 00003C7E  2F2D DCB2                move.l     -[A7], [A5 - 0x234E]
  6071. 00003C82  4EBA 03B4                jsr        [PC + 0x3B4 /* 00004038 */]
  6072. 00003C86  584F                     addq.w     A7, 4
  6073. label00003C88:
  6074. 00003C88  4EBA 0FAA                jsr        [PC + 0xFAA /* 00004C34 */]
  6075. 00003C8C  6000 00D4                bra        +0xD6 /* 00003D62 */
  6076. label00003C90:
  6077. 00003C90  0C47 0001                cmpi.w     D7, 0x1
  6078. 00003C94  670C                     beq        +0xE /* 00003CA2 */
  6079. 00003C96  0C47 0002                cmpi.w     D7, 0x2
  6080. 00003C9A  6706                     beq        +0x8 /* 00003CA2 */
  6081. 00003C9C  0C47 0003                cmpi.w     D7, 0x3
  6082. 00003CA0  6612                     bne        +0x14 /* 00003CB4 */
  6083. label00003CA2:
  6084. 00003CA2  2F2D DCAA                move.l     -[A7], [A5 - 0x2356]
  6085. 00003CA6  4EBA 0390                jsr        [PC + 0x390 /* 00004038 */]
  6086. 00003CAA  4EBA 08BA                jsr        [PC + 0x8BA /* 00004566 */]
  6087. 00003CAE  584F                     addq.w     A7, 4
  6088. 00003CB0  6000 00B0                bra        +0xB2 /* 00003D62 */
  6089. label00003CB4:
  6090. 00003CB4  302C 000E                move.w     D0, [A4 + 0xE]
  6091. 00003CB8  48C0                     ext.l      D0
  6092. 00003CBA  2F00                     move.l     -[A7], D0
  6093. 00003CBC  4886                     ext.w      D6
  6094. 00003CBE  48C6                     ext.l      D6
  6095. 00003CC0  2F06                     move.l     -[A7], D6
  6096. 00003CC2  4EBA EE34                jsr        [PC - 0x11CC /* 00002AF8 */]
  6097. 00003CC6  504F                     addq.w     A7, 8
  6098. 00003CC8  6000 0098                bra        +0x9A /* 00003D62 */
  6099. label00003CCC:
  6100. 00003CCC  7001                     moveq.l    D0, 0x01
  6101. 00003CCE  C06C 000E                and.w      D0, [A4 + 0xE]
  6102. 00003CD2  7200                     moveq.l    D1, 0x00
  6103. 00003CD4  3200                     move.w     D1, D0
  6104. 00003CD6  4A81                     tst.l      D1
  6105. 00003CD8  56C0                     sne        D0
  6106. 00003CDA  4400                     neg.b      D0
  6107. 00003CDC  4880                     ext.w      D0
  6108. 00003CDE  48C0                     ext.l      D0
  6109. 00003CE0  2F00                     move.l     -[A7], D0
  6110. 00003CE2  2F2C 0002                move.l     -[A7], [A4 + 0x2]
  6111. 00003CE6  4EBA FC28                jsr        [PC - 0x3D8 /* 00003910 */]
  6112. 00003CEA  504F                     addq.w     A7, 8
  6113. 00003CEC  6074                     bra        +0x76 /* 00003D62 */
  6114. label00003CEE:
  6115. 00003CEE  2F2C 0002                move.l     -[A7], [A4 + 0x2]
  6116. 00003CF2  4EBA 01C2                jsr        [PC + 0x1C2 /* 00003EB6 */]
  6117. 00003CF6  584F                     addq.w     A7, 4
  6118. 00003CF8  6068                     bra        +0x6A /* 00003D62 */
  6119. label00003CFA:
  6120. 00003CFA  202C 0002                move.l     D0, [A4 + 0x2]
  6121. 00003CFE  4840                     swap.w     D0
  6122. 00003D00  48C0                     ext.l      D0
  6123. 00003D02  E040                     asr        D0.w, 8
  6124. 00003D04  7201                     moveq.l    D1, 0x01
  6125. 00003D06  B280                     cmp.l      D1, D0
  6126. 00003D08  6658                     bne        +0x5A /* 00003D62 */
  6127. 00003D0A  7001                     moveq.l    D0, 0x01
  6128. 00003D0C  C0AC 0002                and.l      D0, [A4 + 0x2]
  6129. 00003D10  56C0                     sne        D0
  6130. 00003D12  4400                     neg.b      D0
  6131. 00003D14  4880                     ext.w      D0
  6132. 00003D16  48C0                     ext.l      D0
  6133. 00003D18  2F00                     move.l     -[A7], D0
  6134. 00003D1A  598F                     subq.l     A7, 4
  6135. 00003D1C  A924                     syscall    FrontWindow
  6136. 00003D1E  4EBA FBF0                jsr        [PC - 0x410 /* 00003910 */]
  6137. 00003D22  504F                     addq.w     A7, 8
  6138. 00003D24  603C                     bra        +0x3E /* 00003D62 */
  6139. label00003D26:
  6140. 00003D26  202C 0002                move.l     D0, [A4 + 0x2]
  6141. 00003D2A  4840                     swap.w     D0
  6142. 00003D2C  48C0                     ext.l      D0
  6143. 00003D2E  6732                     beq        +0x34 /* 00003D62 */
  6144. 00003D30  3D7C 0070 FFFA           move.w     [A6 - 0x6], 0x70 /* 'p' */
  6145. 00003D36  3D7C 0050 FFF8           move.w     [A6 - 0x8], 0x50 /* 'P' */
  6146. 00003D3C  558F                     subq.l     A7, 2
  6147. 00003D3E  2F2E FFF8                move.l     -[A7], [A6 - 0x8]
  6148. 00003D42  2F2C 0002                move.l     -[A7], [A4 + 0x2]
  6149. 00003D46  4EBA 2260                jsr        [PC + 0x2260 /* 00005FA8 */]
  6150. 00003D4A  544F                     addq.w     A7, 2
  6151. 00003D4C  6014                     bra        +0x16 /* 00003D62 */
  6152. label00003D4E:
  6153. 00003D4E  41EC 0010                lea.l      A0, [A4 + 0x10]
  6154. 00003D52  7007                     moveq.l    D0, 0x07
  6155. label00003D54:
  6156. 00003D54  3F20                     move.w     -[A7], -[A0]
  6157. 00003D56  51C8 FFFC                dbf        D0, -0x6 /* 00003D54 */
  6158. 00003D5A  4EBA 10AE                jsr        [PC + 0x10AE /* 00004E0A */]
  6159. 00003D5E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6160. label00003D62:
  6161. 00003D62  4CEE 10C0 FFEC           movem.l    D6,D7,A4, [A6 - 0x14]
  6162. 00003D68  4E5E                     unlink     A6
  6163. 00003D6A  4E75                     rts
  6164. fn00003D6C:
  6165. 00003D6C  4E56 FF00                link       A6, -0x0100
  6166. 00003D70  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  6167. 00003D74  49EE FF00                lea.l      A4, [A6 - 0x100]
  6168. 00003D78  2C2E 0008                move.l     D6, [A6 + 0x8]
  6169. 00003D7C  558F                     subq.l     A7, 2
  6170. 00003D7E  2F06                     move.l     -[A7], D6
  6171. 00003D80  A86A                     syscall    HiWord
  6172. 00003D82  3A1F                     move.w     D5, [A7]+
  6173. 00003D84  558F                     subq.l     A7, 2
  6174. 00003D86  2F06                     move.l     -[A7], D6
  6175. 00003D88  A86B                     syscall    LoWord
  6176. 00003D8A  3E1F                     move.w     D7, [A7]+
  6177. 00003D8C  3005                     move.w     D0, D5
  6178. 00003D8E  0440 03E8                subi.w     D0, 0x3E8
  6179. 00003D92  6B00 0112                bmi        +0x114 /* 00003EA6 */
  6180. 00003D96  0C40 0004                cmpi.w     D0, 0x4
  6181. 00003D9A  6E00 010A                bgt        +0x10C /* 00003EA6 */
  6182. 00003D9E  D040                     add.w      D0, D0
  6183. 00003DA0  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  6184. 00003DA4  4EFB 0000                jmp        [PC + D0.w]
  6185. 00003DA8  000C 0044                ori.b      A4, 0x44 /* 'D' */
  6186. 00003DAC  00BC 00CA 00F0 3007 5340 ori.l      0x30075340, 0xCA00F0
  6187. 00003DB6  6618                     bne        +0x1A /* 00003DD0 */
  6188. 00003DB8  302E 000E                move.w     D0, [A6 + 0xE]
  6189. 00003DBC  48C0                     ext.l      D0
  6190. 00003DBE  2F00                     move.l     -[A7], D0
  6191. 00003DC0  4EAD 0682                jsr        [A5 + 0x682 /* export_204 */]
  6192. 00003DC4  486D 0682                pea.l      [A5 + 0x682 /* export_204 */]
  6193. 00003DC8  A9F1                     syscall    UnloadSeg
  6194. 00003DCA  584F                     addq.w     A7, 4
  6195. 00003DCC  6000 00D8                bra        +0xDA /* 00003EA6 */
  6196. label00003DD0:
  6197. 00003DD0  598F                     subq.l     A7, 4
  6198. 00003DD2  3F3C 03E8                move.w     -[A7], 0x3E8
  6199. 00003DD6  A949                     syscall    GetMenuHandle
  6200. 00003DD8  3F07                     move.w     -[A7], D7
  6201. 00003DDA  2F0C                     move.l     -[A7], A4
  6202. 00003DDC  A946                     syscall    GetMenuItemText/GetItem
  6203. 00003DDE  558F                     subq.l     A7, 2
  6204. 00003DE0  2F0C                     move.l     -[A7], A4
  6205. 00003DE2  A9B6                     syscall    OpenDeskAcc
  6206. 00003DE4  544F                     addq.w     A7, 2
  6207. 00003DE6  6000 00BE                bra        +0xC0 /* 00003EA6 */
  6208. 00003DEA  3007                     move.w     D0, D7
  6209. 00003DEC  5340                     subq.w     D0, 1
  6210. 00003DEE  6708                     beq        +0xA /* 00003DF8 */
  6211. 00003DF0  5540                     subq.w     D0, 2
  6212. 00003DF2  6728                     beq        +0x2A /* 00003E1C */
  6213. 00003DF4  6000 00B0                bra        +0xB2 /* 00003EA6 */
  6214. label00003DF8:
  6215. 00003DF8  4EAD 05BA                jsr        [A5 + 0x5BA /* export_179 */]
  6216. 00003DFC  4EAD 059A                jsr        [A5 + 0x59A /* export_175 */]
  6217. 00003E00  4EAD 06B2                jsr        [A5 + 0x6B2 /* export_210 */]
  6218. 00003E04  4A00                     tst.b      D0
  6219. 00003E06  670A                     beq        +0xC /* 00003E12 */
  6220. 00003E08  7001                     moveq.l    D0, 0x01
  6221. 00003E0A  2F00                     move.l     -[A7], D0
  6222. 00003E0C  4EAD 03F2                jsr        [A5 + 0x3F2 /* export_122 */]
  6223. 00003E10  584F                     addq.w     A7, 4
  6224. label00003E12:
  6225. 00003E12  486D 06B2                pea.l      [A5 + 0x6B2 /* export_210 */]
  6226. 00003E16  A9F1                     syscall    UnloadSeg
  6227. 00003E18  6000 008C                bra        +0x8E /* 00003EA6 */
  6228. label00003E1C:
  6229. 00003E1C  4EAD 05BA                jsr        [A5 + 0x5BA /* export_179 */]
  6230. 00003E20  4EAD 059A                jsr        [A5 + 0x59A /* export_175 */]
  6231. 00003E24  7064                     moveq.l    D0, 0x64
  6232. 00003E26  2F00                     move.l     -[A7], D0
  6233. 00003E28  4EBA F62A                jsr        [PC - 0x9D6 /* 00003454 */]
  6234. 00003E2C  3C00                     move.w     D6, D0
  6235. 00003E2E  0C46 0004                cmpi.w     D6, 0x4
  6236. 00003E32  584F                     addq.w     A7, 4
  6237. 00003E34  670C                     beq        +0xE /* 00003E42 */
  6238. 00003E36  0C46 0006                cmpi.w     D6, 0x6
  6239. 00003E3A  6706                     beq        +0x8 /* 00003E42 */
  6240. 00003E3C  0C46 0005                cmpi.w     D6, 0x5
  6241. 00003E40  661A                     bne        +0x1C /* 00003E5C */
  6242. label00003E42:
  6243. 00003E42  4EAD 06C2                jsr        [A5 + 0x6C2 /* export_212 */]
  6244. 00003E46  4A00                     tst.b      D0
  6245. 00003E48  6608                     bne        +0xA /* 00003E52 */
  6246. 00003E4A  486D 06C2                pea.l      [A5 + 0x6C2 /* export_212 */]
  6247. 00003E4E  A9F1                     syscall    UnloadSeg
  6248. 00003E50  6054                     bra        +0x56 /* 00003EA6 */
  6249. label00003E52:
  6250. 00003E52  7001                     moveq.l    D0, 0x01
  6251. 00003E54  2F00                     move.l     -[A7], D0
  6252. 00003E56  4EAD 06BA                jsr        [A5 + 0x6BA /* export_211 */]
  6253. 00003E5A  584F                     addq.w     A7, 4
  6254. label00003E5C:
  6255. 00003E5C  4EBA 0E10                jsr        [PC + 0xE10 /* 00004C6E */]
  6256. 00003E60  6044                     bra        +0x46 /* 00003EA6 */
  6257. 00003E62  558F                     subq.l     A7, 2
  6258. 00003E64  3007                     move.w     D0, D7
  6259. 00003E66  5340                     subq.w     D0, 1
  6260. 00003E68  3F00                     move.w     -[A7], D0
  6261. 00003E6A  A9C2                     syscall    SysEdit
  6262. 00003E6C  544F                     addq.w     A7, 2
  6263. 00003E6E  6036                     bra        +0x38 /* 00003EA6 */
  6264. 00003E70  0C47 0003                cmpi.w     D7, 0x3
  6265. 00003E74  6604                     bne        +0x6 /* 00003E7A */
  6266. 00003E76  4EBA 0770                jsr        [PC + 0x770 /* 000045E8 */]
  6267. label00003E7A:
  6268. 00003E7A  0C47 0004                cmpi.w     D7, 0x4
  6269. 00003E7E  6604                     bne        +0x6 /* 00003E84 */
  6270. 00003E80  4EAD 03E2                jsr        [A5 + 0x3E2 /* export_120 */]
  6271. label00003E84:
  6272. 00003E84  48C7                     ext.l      D7
  6273. 00003E86  2F07                     move.l     -[A7], D7
  6274. 00003E88  4EAD 06DA                jsr        [A5 + 0x6DA /* export_215 */]
  6275. 00003E8C  486D 06DA                pea.l      [A5 + 0x6DA /* export_215 */]
  6276. 00003E90  A9F1                     syscall    UnloadSeg
  6277. 00003E92  584F                     addq.w     A7, 4
  6278. 00003E94  6010                     bra        +0x12 /* 00003EA6 */
  6279. 00003E96  48C7                     ext.l      D7
  6280. 00003E98  2F07                     move.l     -[A7], D7
  6281. 00003E9A  4EAD 056A                jsr        [A5 + 0x56A /* export_169 */]
  6282. 00003E9E  486D 056A                pea.l      [A5 + 0x56A /* export_169 */]
  6283. 00003EA2  A9F1                     syscall    UnloadSeg
  6284. 00003EA4  584F                     addq.w     A7, 4
  6285. label00003EA6:
  6286. 00003EA6  7000                     moveq.l    D0, 0x00
  6287. 00003EA8  3F00                     move.w     -[A7], D0
  6288. 00003EAA  A938                     syscall    HiliteMenu
  6289. 00003EAC  4CEE 10E0 FEF0           movem.l    D5,D6,D7,A4, [A6 - 0x110]
  6290. 00003EB2  4E5E                     unlink     A6
  6291. 00003EB4  4E75                     rts
  6292. fn00003EB6:
  6293. 00003EB6  4E56 0000                link       A6, 0
  6294. 00003EBA  2F0C                     move.l     -[A7], A4
  6295. 00003EBC  286E 0008                movea.l    A4, [A6 + 0x8]
  6296. 00003EC0  B9ED DCD6                cmpa.l     A4, [A5 - 0x232A]
  6297. 00003EC4  6600 0110                bne        +0x112 /* 00003FD6 */
  6298. 00003EC8  4EAD 04E2                jsr        [A5 + 0x4E2 /* export_152 */]
  6299. 00003ECC  4EAD 04EA                jsr        [A5 + 0x4EA /* export_153 */]
  6300. 00003ED0  2F0C                     move.l     -[A7], A4
  6301. 00003ED2  A922                     syscall    BeginUpdate
  6302. 00003ED4  558F                     subq.l     A7, 2
  6303. 00003ED6  2F2C 0018                move.l     -[A7], [A4 + 0x18]
  6304. 00003EDA  A8E2                     syscall    EmptyRgn
  6305. 00003EDC  4A1F                     tst.b      [A7]+
  6306. 00003EDE  6600 00EE                bne        +0xF0 /* 00003FCE */
  6307. 00003EE2  2F0C                     move.l     -[A7], A4
  6308. 00003EE4  A873                     syscall    SetPort
  6309. 00003EE6  7064                     moveq.l    D0, 0x64
  6310. 00003EE8  2F00                     move.l     -[A7], D0
  6311. 00003EEA  4EBA F568                jsr        [PC - 0xA98 /* 00003454 */]
  6312. 00003EEE  5340                     subq.w     D0, 1
  6313. 00003EF0  584F                     addq.w     A7, 4
  6314. 00003EF2  6B00 00D6                bmi        +0xD8 /* 00003FCA */
  6315. 00003EF6  0C40 0005                cmpi.w     D0, 0x5
  6316. 00003EFA  6E00 00CE                bgt        +0xD0 /* 00003FCA */
  6317. 00003EFE  D040                     add.w      D0, D0
  6318. 00003F00  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  6319. 00003F04  4EFB 0000                jmp        [PC + D0.w]
  6320. 00003F08  0034 000E 0090           ori.b      [A4 + D0.w - 0x112], 0xE
  6321. 00003F0E  000E 000E                ori.b      A6, 0xE
  6322. 00003F12  00A6 4EAD 04A2           ori.l      -[A6], 0x4EAD04A2
  6323. 00003F18  4A2D DC9C                tst.b      [A5 - 0x2364]
  6324. 00003F1C  670E                     beq        +0x10 /* 00003F2C */
  6325. 00003F1E  2F2D DCAA                move.l     -[A7], [A5 - 0x2356]
  6326. 00003F22  4EBA C59A                jsr        [PC - 0x3A66 /* 000004BE */]
  6327. 00003F26  584F                     addq.w     A7, 4
  6328. 00003F28  6000 00A0                bra        +0xA2 /* 00003FCA */
  6329. label00003F2C:
  6330. 00003F2C  2F2D DCA2                move.l     -[A7], [A5 - 0x235E]
  6331. 00003F30  4EBA C58C                jsr        [PC - 0x3A74 /* 000004BE */]
  6332. 00003F34  584F                     addq.w     A7, 4
  6333. 00003F36  6000 0092                bra        +0x94 /* 00003FCA */
  6334. 00003F3A  4A2D DCBE                tst.b      [A5 - 0x2342]
  6335. 00003F3E  671A                     beq        +0x1C /* 00003F5A */
  6336. 00003F40  7005                     moveq.l    D0, 0x05
  6337. 00003F42  2F00                     move.l     -[A7], D0
  6338. 00003F44  7213                     moveq.l    D1, 0x13
  6339. 00003F46  2F01                     move.l     -[A7], D1
  6340. 00003F48  7000                     moveq.l    D0, 0x00
  6341. 00003F4A  2F00                     move.l     -[A7], D0
  6342. 00003F4C  4878 0C1C                push.l     0xC1C
  6343. 00003F50  4EAD 04AA                jsr        [A5 + 0x4AA /* export_145 */]
  6344. 00003F54  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6345. 00003F58  6018                     bra        +0x1A /* 00003F72 */
  6346. label00003F5A:
  6347. 00003F5A  7005                     moveq.l    D0, 0x05
  6348. 00003F5C  2F00                     move.l     -[A7], D0
  6349. 00003F5E  7213                     moveq.l    D1, 0x13
  6350. 00003F60  2F01                     move.l     -[A7], D1
  6351. 00003F62  7000                     moveq.l    D0, 0x00
  6352. 00003F64  2F00                     move.l     -[A7], D0
  6353. 00003F66  4878 0BB8                push.l     0xBB8
  6354. 00003F6A  4EAD 04AA                jsr        [A5 + 0x4AA /* export_145 */]
  6355. 00003F6E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6356. label00003F72:
  6357. 00003F72  2F2D DCAA                move.l     -[A7], [A5 - 0x2356]
  6358. 00003F76  4EBA C546                jsr        [PC - 0x3ABA /* 000004BE */]
  6359. 00003F7A  4A2D DCB6                tst.b      [A5 - 0x234A]
  6360. 00003F7E  584F                     addq.w     A7, 4
  6361. 00003F80  670E                     beq        +0x10 /* 00003F90 */
  6362. 00003F82  4EAD 04B2                jsr        [A5 + 0x4B2 /* export_146 */]
  6363. 00003F86  4EAD 047A                jsr        [A5 + 0x47A /* export_139 */]
  6364. 00003F8A  4EAD 049A                jsr        [A5 + 0x49A /* export_143 */]
  6365. 00003F8E  603A                     bra        +0x3C /* 00003FCA */
  6366. label00003F90:
  6367. 00003F90  4EAD 0472                jsr        [A5 + 0x472 /* export_138 */]
  6368. 00003F94  6034                     bra        +0x36 /* 00003FCA */
  6369. 00003F96  486C 0010                pea.l      [A4 + 0x10]
  6370. 00003F9A  A8A3                     syscall    EraseRect
  6371. 00003F9C  4EBA 015A                jsr        [PC + 0x15A /* 000040F8 */]
  6372. 00003FA0  2F2D DCAA                move.l     -[A7], [A5 - 0x2356]
  6373. 00003FA4  4EBA C518                jsr        [PC - 0x3AE8 /* 000004BE */]
  6374. 00003FA8  584F                     addq.w     A7, 4
  6375. 00003FAA  601E                     bra        +0x20 /* 00003FCA */
  6376. 00003FAC  4A2D DCB6                tst.b      [A5 - 0x234A]
  6377. 00003FB0  6714                     beq        +0x16 /* 00003FC6 */
  6378. 00003FB2  4EAD 04B2                jsr        [A5 + 0x4B2 /* export_146 */]
  6379. 00003FB6  7001                     moveq.l    D0, 0x01
  6380. 00003FB8  2F00                     move.l     -[A7], D0
  6381. 00003FBA  4EAD 065A                jsr        [A5 + 0x65A /* export_199 */]
  6382. 00003FBE  4EAD 049A                jsr        [A5 + 0x49A /* export_143 */]
  6383. 00003FC2  584F                     addq.w     A7, 4
  6384. 00003FC4  6004                     bra        +0x6 /* 00003FCA */
  6385. label00003FC6:
  6386. 00003FC6  4EAD 0652                jsr        [A5 + 0x652 /* export_198 */]
  6387. label00003FCA:
  6388. 00003FCA  2F0C                     move.l     -[A7], A4
  6389. 00003FCC  A969                     syscall    DrawControls
  6390. label00003FCE:
  6391. 00003FCE  2F0C                     move.l     -[A7], A4
  6392. 00003FD0  A923                     syscall    EndUpdate
  6393. 00003FD2  422D DCB6                clr.b      [A5 - 0x234A]
  6394. label00003FD6:
  6395. 00003FD6  286E FFFC                movea.l    A4, [A6 - 0x4]
  6396. 00003FDA  4E5E                     unlink     A6
  6397. 00003FDC  4E75                     rts
  6398. fn00003FDE:
  6399. 00003FDE  4E56 0000                link       A6, 0
  6400. 00003FE2  598F                     subq.l     A7, 4
  6401. 00003FE4  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  6402. 00003FE8  A949                     syscall    GetMenuHandle
  6403. 00003FEA  7000                     moveq.l    D0, 0x00
  6404. 00003FEC  3F00                     move.w     -[A7], D0
  6405. 00003FEE  A939                     syscall    EnableItem
  6406. 00003FF0  4E5E                     unlink     A6
  6407. 00003FF2  4E75                     rts
  6408. fn00003FF4:
  6409. 00003FF4  4E56 FFF0                link       A6, -0x0010
  6410. 00003FF8  2F0C                     move.l     -[A7], A4
  6411. 00003FFA  426D FDA6                clr.w      [A5 - 0x25A]
  6412. 00003FFE  598F                     subq.l     A7, 4
  6413. 00004000  A8D8                     syscall    NewRgn
  6414. 00004002  285F                     movea.l    A4, [A7]+
  6415. label00004004:
  6416. 00004004  4EBA FAEE                jsr        [PC - 0x512 /* 00003AF4 */]
  6417. 00004008  558F                     subq.l     A7, 2
  6418. 0000400A  70FF                     moveq.l    D0, 0xFFFFFFFF
  6419. 0000400C  3F00                     move.w     -[A7], D0
  6420. 0000400E  486E FFF0                pea.l      [A6 - 0x10]
  6421. 00004012  7200                     moveq.l    D1, 0x00
  6422. 00004014  2F01                     move.l     -[A7], D1
  6423. 00004016  2F0C                     move.l     -[A7], A4
  6424. 00004018  A860                     syscall    WaitNextEvent
  6425. 0000401A  4A1F                     tst.b      [A7]+
  6426. 0000401C  670A                     beq        +0xC /* 00004028 */
  6427. 0000401E  486E FFF0                pea.l      [A6 - 0x10]
  6428. 00004022  4EBA FAE4                jsr        [PC - 0x51C /* 00003B08 */]
  6429. 00004026  584F                     addq.w     A7, 4
  6430. label00004028:
  6431. 00004028  4A6D FDA6                tst.w      [A5 - 0x25A]
  6432. 0000402C  67D6                     beq        -0x28 /* 00004004 */
  6433. 0000402E  A9F4                     syscall    ExitToShell
  6434. 00004030  286E FFEC                movea.l    A4, [A6 - 0x14]
  6435. 00004034  4E5E                     unlink     A6
  6436. 00004036  4E75                     rts
  6437. fn00004038:
  6438. 00004038  4E56 FFFC                link       A6, -0x0004
  6439. 0000403C  2F0C                     move.l     -[A7], A4
  6440. 0000403E  286E 0008                movea.l    A4, [A6 + 0x8]
  6441. 00004042  2F0C                     move.l     -[A7], A4
  6442. 00004044  7001                     moveq.l    D0, 0x01
  6443. 00004046  3F00                     move.w     -[A7], D0
  6444. 00004048  A95D                     syscall    HiliteControl
  6445. 0000404A  307C 0008                movea.w    A0, 0x8
  6446. 0000404E  43EE FFFC                lea.l      A1, [A6 - 0x4]
  6447. 00004052  A03B                     syscall    Delay
  6448. 00004054  2280                     move.l     [A1], D0
  6449. 00004056  2F0C                     move.l     -[A7], A4
  6450. 00004058  7000                     moveq.l    D0, 0x00
  6451. 0000405A  3F00                     move.w     -[A7], D0
  6452. 0000405C  A95D                     syscall    HiliteControl
  6453. 0000405E  286E FFF8                movea.l    A4, [A6 - 0x8]
  6454. 00004062  4E5E                     unlink     A6
  6455. 00004064  4E75                     rts
  6456. fn00004066:
  6457. 00004066  4E56 0000                link       A6, 0
  6458. 0000406A  48E7 1108                movem.l    -[A7], D3,D7,A4
  6459. 0000406E  3E3C 2328                move.w     D7, 0x2328 /* '#(' */
  6460. label00004072:
  6461. 00004072  598F                     subq.l     A7, 4
  6462. 00004074  2F3C 736E 6420           move.l     -[A7], 0x736E6420 /* 'snd ' */
  6463. 0000407A  3F07                     move.w     -[A7], D7
  6464. 0000407C  A9A0                     syscall    GetResource
  6465. 0000407E  285F                     movea.l    A4, [A7]+
  6466. 00004080  200C                     move.l     D0, A4
  6467. 00004082  6708                     beq        +0xA /* 0000408C */
  6468. 00004084  204C                     movea.l    A0, A4
  6469. 00004086  A064                     syscall    MoveHHi
  6470. 00004088  204C                     movea.l    A0, A4
  6471. 0000408A  A029                     syscall    HLock
  6472. label0000408C:
  6473. 0000408C  3007                     move.w     D0, D7
  6474. 0000408E  5247                     addq.w     D7, 1
  6475. 00004090  0C47 2337                cmpi.w     D7, 0x2337 /* '#7' */
  6476. 00004094  6FDC                     ble        -0x22 /* 00004072 */
  6477. 00004096  4CEE 1088 FFF4           movem.l    D3,D7,A4, [A6 - 0xC]
  6478. 0000409C  4E5E                     unlink     A6
  6479. 0000409E  4E75                     rts
  6480. fn000040A0:
  6481. 000040A0  4E56 0000                link       A6, 0
  6482. 000040A4  48E7 1108                movem.l    -[A7], D3,D7,A4
  6483. 000040A8  4EAD 05AA                jsr        [A5 + 0x5AA /* export_177 */]
  6484. 000040AC  3E3C 2328                move.w     D7, 0x2328 /* '#(' */
  6485. label000040B0:
  6486. 000040B0  598F                     subq.l     A7, 4
  6487. 000040B2  2F3C 736E 6420           move.l     -[A7], 0x736E6420 /* 'snd ' */
  6488. 000040B8  3F07                     move.w     -[A7], D7
  6489. 000040BA  A9A0                     syscall    GetResource
  6490. 000040BC  285F                     movea.l    A4, [A7]+
  6491. 000040BE  200C                     move.l     D0, A4
  6492. 000040C0  6704                     beq        +0x6 /* 000040C6 */
  6493. 000040C2  204C                     movea.l    A0, A4
  6494. 000040C4  A02A                     syscall    HUnlock
  6495. label000040C6:
  6496. 000040C6  3007                     move.w     D0, D7
  6497. 000040C8  5247                     addq.w     D7, 1
  6498. 000040CA  0C47 2337                cmpi.w     D7, 0x2337 /* '#7' */
  6499. 000040CE  6FE0                     ble        -0x1E /* 000040B0 */
  6500. 000040D0  4247                     clr.w      D7
  6501. label000040D2:
  6502. 000040D2  48C7                     ext.l      D7
  6503. 000040D4  2F07                     move.l     -[A7], D7
  6504. 000040D6  4EAD 050A                jsr        [A5 + 0x50A /* export_157 */]
  6505. 000040DA  584F                     addq.w     A7, 4
  6506. 000040DC  3007                     move.w     D0, D7
  6507. 000040DE  5247                     addq.w     D7, 1
  6508. 000040E0  0C47 0006                cmpi.w     D7, 0x6
  6509. 000040E4  6DEC                     blt        -0x12 /* 000040D2 */
  6510. 000040E6  4EAD 04F2                jsr        [A5 + 0x4F2 /* export_154 */]
  6511. 000040EA  4EAD 04FA                jsr        [A5 + 0x4FA /* export_155 */]
  6512. 000040EE  4CEE 1088 FFF4           movem.l    D3,D7,A4, [A6 - 0xC]
  6513. 000040F4  4E5E                     unlink     A6
  6514. 000040F6  4E75                     rts
  6515. fn000040F8:
  6516. 000040F8  4E56 FEFA                link       A6, -0x0106
  6517. 000040FC  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  6518. 00004100  49EE FF00                lea.l      A4, [A6 - 0x100]
  6519. 00004104  4A2D DCBE                tst.b      [A5 - 0x2342]
  6520. 00004108  6718                     beq        +0x1A /* 00004122 */
  6521. 0000410A  7000                     moveq.l    D0, 0x00
  6522. 0000410C  2F00                     move.l     -[A7], D0
  6523. 0000410E  2F00                     move.l     -[A7], D0
  6524. 00004110  7201                     moveq.l    D1, 0x01
  6525. 00004112  2F01                     move.l     -[A7], D1
  6526. 00004114  4878 0C1C                push.l     0xC1C
  6527. 00004118  4EAD 04AA                jsr        [A5 + 0x4AA /* export_145 */]
  6528. 0000411C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6529. 00004120  6016                     bra        +0x18 /* 00004138 */
  6530. label00004122:
  6531. 00004122  7000                     moveq.l    D0, 0x00
  6532. 00004124  2F00                     move.l     -[A7], D0
  6533. 00004126  2F00                     move.l     -[A7], D0
  6534. 00004128  7201                     moveq.l    D1, 0x01
  6535. 0000412A  2F01                     move.l     -[A7], D1
  6536. 0000412C  4878 0BB8                push.l     0xBB8
  6537. 00004130  4EAD 04AA                jsr        [A5 + 0x4AA /* export_145 */]
  6538. 00004134  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6539. label00004138:
  6540. 00004138  7000                     moveq.l    D0, 0x00
  6541. 0000413A  3F00                     move.w     -[A7], D0
  6542. 0000413C  A887                     syscall    TextFont
  6543. 0000413E  700C                     moveq.l    D0, 0x0C
  6544. 00004140  3F00                     move.w     -[A7], D0
  6545. 00004142  A88A                     syscall    TextSize
  6546. 00004144  7000                     moveq.l    D0, 0x00
  6547. 00004146  3F00                     move.w     -[A7], D0
  6548. 00004148  A888                     syscall    TextFace
  6549. 0000414A  2F0C                     move.l     -[A7], A4
  6550. 0000414C  3F3C 2B2A                move.w     -[A7], 0x2B2A /* '+*' */
  6551. 00004150  302D D338                move.w     D0, [A5 - 0x2CC8]
  6552. 00004154  5240                     addq.w     D0, 1
  6553. 00004156  3F00                     move.w     -[A7], D0
  6554. 00004158  4EBA 1A86                jsr        [PC + 0x1A86 /* 00005BE0 */]
  6555. 0000415C  558F                     subq.l     A7, 2
  6556. 0000415E  2F0C                     move.l     -[A7], A4
  6557. 00004160  A88C                     syscall    StringWidth
  6558. 00004162  301F                     move.w     D0, [A7]+
  6559. 00004164  48C0                     ext.l      D0
  6560. 00004166  223C 0000 0200           move.l     D1, 0x200
  6561. 0000416C  9280                     sub.l      D1, D0
  6562. 0000416E  2001                     move.l     D0, D1
  6563. 00004170  7202                     moveq.l    D1, 0x02
  6564. 00004172  4EBA 143E                jsr        [PC + 0x143E /* 000055B2 */]
  6565. 00004176  3C00                     move.w     D6, D0
  6566. 00004178  3F06                     move.w     -[A7], D6
  6567. 0000417A  7067                     moveq.l    D0, 0x67
  6568. 0000417C  3F00                     move.w     -[A7], D0
  6569. 0000417E  A893                     syscall    MoveTo
  6570. 00004180  2F0C                     move.l     -[A7], A4
  6571. 00004182  A884                     syscall    DrawString
  6572. 00004184  302D DBD2                move.w     D0, [A5 - 0x242E]
  6573. 00004188  48C0                     ext.l      D0
  6574. 0000418A  2F00                     move.l     -[A7], D0
  6575. 0000418C  2F2D DBEE                move.l     -[A7], [A5 - 0x2412]
  6576. 00004190  486D DBD4                pea.l      [A5 - 0x242C]
  6577. 00004194  4EBA E646                jsr        [PC - 0x19BA /* 000027DC */]
  6578. 00004198  3C00                     move.w     D6, D0
  6579. 0000419A  4EBA E712                jsr        [PC - 0x18EE /* 000028AE */]
  6580. 0000419E  3A00                     move.w     D5, D0
  6581. 000041A0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6582. 000041A4  6620                     bne        +0x22 /* 000041C6 */
  6583. 000041A6  2F0C                     move.l     -[A7], A4
  6584. 000041A8  3F3C 0FA0                move.w     -[A7], 0xFA0
  6585. 000041AC  7003                     moveq.l    D0, 0x03
  6586. 000041AE  3F00                     move.w     -[A7], D0
  6587. 000041B0  4EBA 1A2E                jsr        [PC + 0x1A2E /* 00005BE0 */]
  6588. 000041B4  707D                     moveq.l    D0, 0x7D
  6589. 000041B6  3F00                     move.w     -[A7], D0
  6590. 000041B8  3F3C 00B7                move.w     -[A7], 0xB7
  6591. 000041BC  A893                     syscall    MoveTo
  6592. 000041BE  2F0C                     move.l     -[A7], A4
  6593. 000041C0  A884                     syscall    DrawString
  6594. 000041C2  6000 00F2                bra        +0xF4 /* 000042B6 */
  6595. label000041C6:
  6596. 000041C6  4247                     clr.w      D7
  6597. 000041C8  6000 00E6                bra        +0xE8 /* 000042B0 */
  6598. label000041CC:
  6599. 000041CC  BC47                     cmp.w      D6, D7
  6600. 000041CE  6606                     bne        +0x8 /* 000041D6 */
  6601. 000041D0  7008                     moveq.l    D0, 0x08
  6602. 000041D2  3F00                     move.w     -[A7], D0
  6603. 000041D4  A888                     syscall    TextFace
  6604. label000041D6:
  6605. 000041D6  7028                     moveq.l    D0, 0x28
  6606. 000041D8  3F00                     move.w     -[A7], D0
  6607. 000041DA  3207                     move.w     D1, D7
  6608. 000041DC  48C1                     ext.l      D1
  6609. 000041DE  E981                     asl        D1, 4
  6610. 000041E0  D27C 0087                add.w      D1, 0x87
  6611. 000041E4  3F01                     move.w     -[A7], D1
  6612. 000041E6  A893                     syscall    MoveTo
  6613. 000041E8  48C7                     ext.l      D7
  6614. 000041EA  2007                     move.l     D0, D7
  6615. 000041EC  5280                     addq.l     D0, 1
  6616. 000041EE  2F00                     move.l     -[A7], D0
  6617. 000041F0  2F0C                     move.l     -[A7], A4
  6618. 000041F2  4EBA 1DBA                jsr        [PC + 0x1DBA /* 00005FAE */]
  6619. 000041F6  2F0C                     move.l     -[A7], A4
  6620. 000041F8  A884                     syscall    DrawString
  6621. 000041FA  702E                     moveq.l    D0, 0x2E
  6622. 000041FC  3F00                     move.w     -[A7], D0
  6623. 000041FE  A883                     syscall    DrawChar
  6624. 00004200  7046                     moveq.l    D0, 0x46
  6625. 00004202  3F00                     move.w     -[A7], D0
  6626. 00004204  3207                     move.w     D1, D7
  6627. 00004206  48C1                     ext.l      D1
  6628. 00004208  E981                     asl        D1, 4
  6629. 0000420A  D27C 0087                add.w      D1, 0x87
  6630. 0000420E  3F01                     move.w     -[A7], D1
  6631. 00004210  A893                     syscall    MoveTo
  6632. 00004212  2F0C                     move.l     -[A7], A4
  6633. 00004214  486E FEFE                pea.l      [A6 - 0x102]
  6634. 00004218  486E FEFA                pea.l      [A6 - 0x106]
  6635. 0000421C  48C7                     ext.l      D7
  6636. 0000421E  2F07                     move.l     -[A7], D7
  6637. 00004220  4EBA E626                jsr        [PC - 0x19DA /* 00002848 */]
  6638. 00004224  2F0C                     move.l     -[A7], A4
  6639. 00004226  A884                     syscall    DrawString
  6640. 00004228  0CAE 000F 4240 FEFA      cmpi.l     [A6 - 0x106], 0xF4240
  6641. 00004230  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6642. 00004234  6D10                     blt        +0x12 /* 00004246 */
  6643. 00004236  2F0C                     move.l     -[A7], A4
  6644. 00004238  3F3C 0FA0                move.w     -[A7], 0xFA0
  6645. 0000423C  7004                     moveq.l    D0, 0x04
  6646. 0000423E  3F00                     move.w     -[A7], D0
  6647. 00004240  4EBA 199E                jsr        [PC + 0x199E /* 00005BE0 */]
  6648. 00004244  600C                     bra        +0xE /* 00004252 */
  6649. label00004246:
  6650. 00004246  2F0C                     move.l     -[A7], A4
  6651. 00004248  2F2E FEFA                move.l     -[A7], [A6 - 0x106]
  6652. 0000424C  4EBA C954                jsr        [PC - 0x36AC /* 00000BA2 */]
  6653. 00004250  504F                     addq.w     A7, 8
  6654. label00004252:
  6655. 00004252  558F                     subq.l     A7, 2
  6656. 00004254  2F0C                     move.l     -[A7], A4
  6657. 00004256  A88C                     syscall    StringWidth
  6658. 00004258  303C 01A0                move.w     D0, 0x1A0
  6659. 0000425C  905F                     sub.w      D0, [A7]+
  6660. 0000425E  3F00                     move.w     -[A7], D0
  6661. 00004260  3007                     move.w     D0, D7
  6662. 00004262  48C0                     ext.l      D0
  6663. 00004264  E980                     asl        D0, 4
  6664. 00004266  D07C 0087                add.w      D0, 0x87
  6665. 0000426A  3F00                     move.w     -[A7], D0
  6666. 0000426C  A893                     syscall    MoveTo
  6667. 0000426E  2F0C                     move.l     -[A7], A4
  6668. 00004270  A884                     syscall    DrawString
  6669. 00004272  2F0C                     move.l     -[A7], A4
  6670. 00004274  302E FEFE                move.w     D0, [A6 - 0x102]
  6671. 00004278  48C0                     ext.l      D0
  6672. 0000427A  2F00                     move.l     -[A7], D0
  6673. 0000427C  4EBA C924                jsr        [PC - 0x36DC /* 00000BA2 */]
  6674. 00004280  558F                     subq.l     A7, 2
  6675. 00004282  2F0C                     move.l     -[A7], A4
  6676. 00004284  A88C                     syscall    StringWidth
  6677. 00004286  303C 01D4                move.w     D0, 0x1D4
  6678. 0000428A  905F                     sub.w      D0, [A7]+
  6679. 0000428C  3F00                     move.w     -[A7], D0
  6680. 0000428E  3007                     move.w     D0, D7
  6681. 00004290  48C0                     ext.l      D0
  6682. 00004292  E980                     asl        D0, 4
  6683. 00004294  D07C 0087                add.w      D0, 0x87
  6684. 00004298  3F00                     move.w     -[A7], D0
  6685. 0000429A  A893                     syscall    MoveTo
  6686. 0000429C  2F0C                     move.l     -[A7], A4
  6687. 0000429E  A884                     syscall    DrawString
  6688. 000042A0  BC47                     cmp.w      D6, D7
  6689. 000042A2  504F                     addq.w     A7, 8
  6690. 000042A4  6606                     bne        +0x8 /* 000042AC */
  6691. 000042A6  7000                     moveq.l    D0, 0x00
  6692. 000042A8  3F00                     move.w     -[A7], D0
  6693. 000042AA  A888                     syscall    TextFace
  6694. label000042AC:
  6695. 000042AC  3007                     move.w     D0, D7
  6696. 000042AE  5247                     addq.w     D7, 1
  6697. label000042B0:
  6698. 000042B0  BA47                     cmp.w      D5, D7
  6699. 000042B2  6E00 FF18                bgt        -0xE6 /* 000041CC */
  6700. label000042B6:
  6701. 000042B6  4CEE 10E0 FEEA           movem.l    D5,D6,D7,A4, [A6 - 0x116]
  6702. 000042BC  4E5E                     unlink     A6
  6703. 000042BE  4E75                     rts
  6704. fn000042C0:
  6705. 000042C0  4E56 0000                link       A6, 0
  6706. 000042C4  2F0C                     move.l     -[A7], A4
  6707. 000042C6  286E 0008                movea.l    A4, [A6 + 0x8]
  6708. 000042CA  200C                     move.l     D0, A4
  6709. 000042CC  6604                     bne        +0x6 /* 000042D2 */
  6710. 000042CE  7000                     moveq.l    D0, 0x00
  6711. 000042D0  6008                     bra        +0xA /* 000042DA */
  6712. label000042D2:
  6713. 000042D2  4A6C 006C                tst.w      [A4 + 0x6C]
  6714. 000042D6  5DC0                     slt        D0
  6715. 000042D8  4400                     neg.b      D0
  6716. label000042DA:
  6717. 000042DA  286E FFFC                movea.l    A4, [A6 - 0x4]
  6718. 000042DE  4E5E                     unlink     A6
  6719. 000042E0  4E75                     rts
  6720. fn000042E2:
  6721. 000042E2  4E56 0000                link       A6, 0
  6722. 000042E6  2F07                     move.l     -[A7], D7
  6723. 000042E8  3E2E 000A                move.w     D7, [A6 + 0xA]
  6724. 000042EC  422D DB94                clr.b      [A5 - 0x246C]
  6725. 000042F0  4EBA F414                jsr        [PC - 0xBEC /* 00003706 */]
  6726. 000042F4  3B47 FD66                move.w     [A5 - 0x29A], D7
  6727. 000042F8  41ED FD76                lea.l      A0, [A5 - 0x28A]
  6728. 000042FC  7009                     moveq.l    D0, 0x09
  6729. label000042FE:
  6730. 000042FE  3F20                     move.w     -[A7], -[A0]
  6731. 00004300  51C8 FFFC                dbf        D0, -0x6 /* 000042FE */
  6732. 00004304  4EBA EF38                jsr        [PC - 0x10C8 /* 0000323E */]
  6733. 00004308  48C7                     ext.l      D7
  6734. 0000430A  2F07                     move.l     -[A7], D7
  6735. 0000430C  4EBA F272                jsr        [PC - 0xD8E /* 00003580 */]
  6736. 00004310  48C7                     ext.l      D7
  6737. 00004312  2F07                     move.l     -[A7], D7
  6738. 00004314  4EBA F278                jsr        [PC - 0xD88 /* 0000358E */]
  6739. 00004318  2F2D DCD6                move.l     -[A7], [A5 - 0x232A]
  6740. 0000431C  A873                     syscall    SetPort
  6741. 0000431E  3007                     move.w     D0, D7
  6742. 00004320  5340                     subq.w     D0, 1
  6743. 00004322  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  6744. 00004326  6B00 01E8                bmi        +0x1EA /* 00004510 */
  6745. 0000432A  0C40 0005                cmpi.w     D0, 0x5
  6746. 0000432E  6E00 01E0                bgt        +0x1E2 /* 00004510 */
  6747. 00004332  D040                     add.w      D0, D0
  6748. 00004334  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  6749. 00004338  4EFB 0000                jmp        [PC + D0.w]
  6750. 0000433C  000E 0108                ori.b      A6, 0x8
  6751. 00004340  005A 0126                ori.w      [A2]+, 0x126
  6752. 00004344  017E                     bchg       <<invalid special address>>, D0
  6753. 00004346  01C4                     .incomplete
  6754. 00004348  4EAD 05BA                jsr        [A5 + 0x5BA /* export_179 */]
  6755. 0000434C  4EAD 0462                jsr        [A5 + 0x462 /* export_136 */]
  6756. 00004350  4EBA 01D2                jsr        [PC + 0x1D2 /* 00004524 */]
  6757. 00004354  4A2D DCBE                tst.b      [A5 - 0x2342]
  6758. 00004358  671A                     beq        +0x1C /* 00004374 */
  6759. 0000435A  7005                     moveq.l    D0, 0x05
  6760. 0000435C  2F00                     move.l     -[A7], D0
  6761. 0000435E  7213                     moveq.l    D1, 0x13
  6762. 00004360  2F01                     move.l     -[A7], D1
  6763. 00004362  7000                     moveq.l    D0, 0x00
  6764. 00004364  2F00                     move.l     -[A7], D0
  6765. 00004366  4878 0C1C                push.l     0xC1C
  6766. 0000436A  4EAD 04AA                jsr        [A5 + 0x4AA /* export_145 */]
  6767. 0000436E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6768. 00004372  6018                     bra        +0x1A /* 0000438C */
  6769. label00004374:
  6770. 00004374  7005                     moveq.l    D0, 0x05
  6771. 00004376  2F00                     move.l     -[A7], D0
  6772. 00004378  7213                     moveq.l    D1, 0x13
  6773. 0000437A  2F01                     move.l     -[A7], D1
  6774. 0000437C  7000                     moveq.l    D0, 0x00
  6775. 0000437E  2F00                     move.l     -[A7], D0
  6776. 00004380  4878 0BB8                push.l     0xBB8
  6777. 00004384  4EAD 04AA                jsr        [A5 + 0x4AA /* export_145 */]
  6778. 00004388  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6779. label0000438C:
  6780. 0000438C  4EBA F46A                jsr        [PC - 0xB96 /* 000037F8 */]
  6781. 00004390  6000 017E                bra        +0x180 /* 00004510 */
  6782. 00004394  4A2D FDA0                tst.b      [A5 - 0x260]
  6783. 00004398  6704                     beq        +0x6 /* 0000439E */
  6784. 0000439A  4EBA F688                jsr        [PC - 0x978 /* 00003A24 */]
  6785. label0000439E:
  6786. 0000439E  598F                     subq.l     A7, 4
  6787. 000043A0  3F3C 03E9                move.w     -[A7], 0x3E9
  6788. 000043A4  A949                     syscall    GetMenuHandle
  6789. 000043A6  7001                     moveq.l    D0, 0x01
  6790. 000043A8  3F00                     move.w     -[A7], D0
  6791. 000043AA  A93A                     syscall    DisableItem
  6792. 000043AC  598F                     subq.l     A7, 4
  6793. 000043AE  3F3C 03EB                move.w     -[A7], 0x3EB
  6794. 000043B2  A949                     syscall    GetMenuHandle
  6795. 000043B4  7004                     moveq.l    D0, 0x04
  6796. 000043B6  3F00                     move.w     -[A7], D0
  6797. 000043B8  A93A                     syscall    DisableItem
  6798. 000043BA  598F                     subq.l     A7, 4
  6799. 000043BC  3F3C 03EB                move.w     -[A7], 0x3EB
  6800. 000043C0  A949                     syscall    GetMenuHandle
  6801. 000043C2  7003                     moveq.l    D0, 0x03
  6802. 000043C4  3F00                     move.w     -[A7], D0
  6803. 000043C6  A939                     syscall    EnableItem
  6804. 000043C8  2F2D DCB2                move.l     -[A7], [A5 - 0x234E]
  6805. 000043CC  A958                     syscall    HideControl
  6806. 000043CE  2F2D DCA2                move.l     -[A7], [A5 - 0x235E]
  6807. 000043D2  A958                     syscall    HideControl
  6808. 000043D4  206D DCAA                movea.l    A0, [A5 - 0x2356]
  6809. 000043D8  2050                     movea.l    A0, [A0]
  6810. 000043DA  117C 00FF 0010           move.b     [A0 + 0x10], 0xFF
  6811. 000043E0  206D DCA6                movea.l    A0, [A5 - 0x235A]
  6812. 000043E4  2050                     movea.l    A0, [A0]
  6813. 000043E6  117C 00FF 0010           move.b     [A0 + 0x10], 0xFF
  6814. 000043EC  206D DCAE                movea.l    A0, [A5 - 0x2352]
  6815. 000043F0  2050                     movea.l    A0, [A0]
  6816. 000043F2  117C 00FF 0010           move.b     [A0 + 0x10], 0xFF
  6817. 000043F8  4EBA FCA6                jsr        [PC - 0x35A /* 000040A0 */]
  6818. 000043FC  4EBA 0126                jsr        [PC + 0x126 /* 00004524 */]
  6819. 00004400  302D D338                move.w     D0, [A5 - 0x2CC8]
  6820. 00004404  48C0                     ext.l      D0
  6821. 00004406  2F00                     move.l     -[A7], D0
  6822. 00004408  4EBA E3B0                jsr        [PC - 0x1C50 /* 000027BA */]
  6823. 0000440C  4EBA FCEA                jsr        [PC - 0x316 /* 000040F8 */]
  6824. 00004410  4EBA F3E6                jsr        [PC - 0xC1A /* 000037F8 */]
  6825. 00004414  3B7C 0003 FD7A           move.w     [A5 - 0x286], 0x3
  6826. 0000441A  2B7C 0000 0258 FD82      move.l     [A5 - 0x27E], 0x258
  6827. 00004422  2B7C 0000 0258 FD7E      move.l     [A5 - 0x282], 0x258
  6828. 0000442A  41ED FD8A                lea.l      A0, [A5 - 0x276]
  6829. 0000442E  7009                     moveq.l    D0, 0x09
  6830. label00004430:
  6831. 00004430  3F20                     move.w     -[A7], -[A0]
  6832. 00004432  51C8 FFFC                dbf        D0, -0x6 /* 00004430 */
  6833. 00004436  4EBA EE06                jsr        [PC - 0x11FA /* 0000323E */]
  6834. 0000443A  4FEF 0018                lea.l      A7, [A7 + 0x18]
  6835. 0000443E  6000 00D0                bra        +0xD2 /* 00004510 */
  6836. 00004442  4EAD 047A                jsr        [A5 + 0x47A /* export_139 */]
  6837. 00004446  4EBA CA88                jsr        [PC - 0x3578 /* 00000ED0 */]
  6838. 0000444A  1B7C 0001 DC9C           move.b     [A5 - 0x2364], 0x1
  6839. 00004450  422D DC9A                clr.b      [A5 - 0x2366]
  6840. 00004454  4EAD 03FA                jsr        [A5 + 0x3FA /* export_123 */]
  6841. 00004458  4EBA FC0C                jsr        [PC - 0x3F4 /* 00004066 */]
  6842. 0000445C  6000 00B2                bra        +0xB4 /* 00004510 */
  6843. 00004460  4EAD 047A                jsr        [A5 + 0x47A /* export_139 */]
  6844. 00004464  598F                     subq.l     A7, 4
  6845. 00004466  3F3C 03E9                move.w     -[A7], 0x3E9
  6846. 0000446A  A949                     syscall    GetMenuHandle
  6847. 0000446C  7001                     moveq.l    D0, 0x01
  6848. 0000446E  3F00                     move.w     -[A7], D0
  6849. 00004470  A939                     syscall    EnableItem
  6850. 00004472  598F                     subq.l     A7, 4
  6851. 00004474  3F3C 03EB                move.w     -[A7], 0x3EB
  6852. 00004478  A949                     syscall    GetMenuHandle
  6853. 0000447A  7003                     moveq.l    D0, 0x03
  6854. 0000447C  3F00                     move.w     -[A7], D0
  6855. 0000447E  A93A                     syscall    DisableItem
  6856. 00004480  422D DC9C                clr.b      [A5 - 0x2364]
  6857. 00004484  206D DCAA                movea.l    A0, [A5 - 0x2356]
  6858. 00004488  2050                     movea.l    A0, [A0]
  6859. 0000448A  4228 0010                clr.b      [A0 + 0x10]
  6860. 0000448E  206D DCA6                movea.l    A0, [A5 - 0x235A]
  6861. 00004492  2050                     movea.l    A0, [A0]
  6862. 00004494  4228 0010                clr.b      [A0 + 0x10]
  6863. 00004498  206D DCAE                movea.l    A0, [A5 - 0x2352]
  6864. 0000449C  2050                     movea.l    A0, [A0]
  6865. 0000449E  4228 0010                clr.b      [A0 + 0x10]
  6866. 000044A2  206D DCA2                movea.l    A0, [A5 - 0x235E]
  6867. 000044A6  2050                     movea.l    A0, [A0]
  6868. 000044A8  117C 00FF 0010           move.b     [A0 + 0x10], 0xFF
  6869. 000044AE  4EAD 03FA                jsr        [A5 + 0x3FA /* export_123 */]
  6870. 000044B2  4EBA FBB2                jsr        [PC - 0x44E /* 00004066 */]
  6871. 000044B6  6058                     bra        +0x5A /* 00004510 */
  6872. 000044B8  206D DCA2                movea.l    A0, [A5 - 0x235E]
  6873. 000044BC  2050                     movea.l    A0, [A0]
  6874. 000044BE  117C 00FF 0010           move.b     [A0 + 0x10], 0xFF
  6875. 000044C4  4EAD 0412                jsr        [A5 + 0x412 /* export_126 */]
  6876. 000044C8  4A6D DC9E                tst.w      [A5 - 0x2362]
  6877. 000044CC  672A                     beq        +0x2C /* 000044F8 */
  6878. 000044CE  7004                     moveq.l    D0, 0x04
  6879. 000044D0  B06D DBD2                cmp.w      D0, [A5 - 0x242E]
  6880. 000044D4  6622                     bne        +0x24 /* 000044F8 */
  6881. 000044D6  1B7C 0001 FDA0           move.b     [A5 - 0x260], 0x1
  6882. 000044DC  7003                     moveq.l    D0, 0x03
  6883. 000044DE  2F00                     move.l     -[A7], D0
  6884. 000044E0  7264                     moveq.l    D1, 0x64
  6885. 000044E2  2F01                     move.l     -[A7], D1
  6886. 000044E4  4EBA F0D8                jsr        [PC - 0xF28 /* 000035BE */]
  6887. 000044E8  7001                     moveq.l    D0, 0x01
  6888. 000044EA  2F00                     move.l     -[A7], D0
  6889. 000044EC  7202                     moveq.l    D1, 0x02
  6890. 000044EE  2F01                     move.l     -[A7], D1
  6891. 000044F0  4EBA EFE8                jsr        [PC - 0x1018 /* 000034DA */]
  6892. 000044F4  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6893. label000044F8:
  6894. 000044F8  4EBA FB6C                jsr        [PC - 0x494 /* 00004066 */]
  6895. 000044FC  6012                     bra        +0x14 /* 00004510 */
  6896. 000044FE  206D DCA2                movea.l    A0, [A5 - 0x235E]
  6897. 00004502  2050                     movea.l    A0, [A0]
  6898. 00004504  4228 0010                clr.b      [A0 + 0x10]
  6899. 00004508  4EBA FB96                jsr        [PC - 0x46A /* 000040A0 */]
  6900. 0000450C  4EAD 0642                jsr        [A5 + 0x642 /* export_196 */]
  6901. label00004510:
  6902. 00004510  70FF                     moveq.l    D0, 0xFFFFFFFF
  6903. 00004512  3F00                     move.w     -[A7], D0
  6904. 00004514  7200                     moveq.l    D1, 0x00
  6905. 00004516  3F01                     move.w     -[A7], D1
  6906. 00004518  201F                     move.l     D0, [A7]+
  6907. 0000451A  A032                     syscall    FlushEvents
  6908. 0000451C  2E2E FFFC                move.l     D7, [A6 - 0x4]
  6909. 00004520  4E5E                     unlink     A6
  6910. 00004522  4E75                     rts
  6911. fn00004524:
  6912. 00004524  4E56 0000                link       A6, 0
  6913. 00004528  4EAD 0442                jsr        [A5 + 0x442 /* export_132 */]
  6914. 0000452C  4A2D DCBE                tst.b      [A5 - 0x2342]
  6915. 00004530  6706                     beq        +0x8 /* 00004538 */
  6916. 00004532  4878 00CD                push.l     0xCD
  6917. 00004536  A862                     syscall    ForeColor
  6918. label00004538:
  6919. 00004538  206D FE7E                movea.l    A0, [A5 - 0x182]
  6920. 0000453C  4868 0010                pea.l      [A0 + 0x10]
  6921. 00004540  A8A2                     syscall    PaintRect
  6922. 00004542  4A2D DCBE                tst.b      [A5 - 0x2342]
  6923. 00004546  6706                     beq        +0x8 /* 0000454E */
  6924. 00004548  7021                     moveq.l    D0, 0x21
  6925. 0000454A  2F00                     move.l     -[A7], D0
  6926. 0000454C  A862                     syscall    ForeColor
  6927. label0000454E:
  6928. 0000454E  7001                     moveq.l    D0, 0x01
  6929. 00004550  2F00                     move.l     -[A7], D0
  6930. 00004552  4EAD 0452                jsr        [A5 + 0x452 /* export_134 */]
  6931. 00004556  206D FE7E                movea.l    A0, [A5 - 0x182]
  6932. 0000455A  4868 0010                pea.l      [A0 + 0x10]
  6933. 0000455E  A8A3                     syscall    EraseRect
  6934. 00004560  584F                     addq.w     A7, 4
  6935. 00004562  4E5E                     unlink     A6
  6936. 00004564  4E75                     rts
  6937. fn00004566:
  6938. 00004566  4E56 0000                link       A6, 0
  6939. 0000456A  48E7 1100                movem.l    -[A7], D3,D7
  6940. 0000456E  4EAD 05BA                jsr        [A5 + 0x5BA /* export_179 */]
  6941. 00004572  7000                     moveq.l    D0, 0x00
  6942. 00004574  2F00                     move.l     -[A7], D0
  6943. 00004576  4EAD 050A                jsr        [A5 + 0x50A /* export_157 */]
  6944. 0000457A  4247                     clr.w      D7
  6945. 0000457C  584F                     addq.w     A7, 4
  6946. label0000457E:
  6947. 0000457E  2007                     move.l     D0, D7
  6948. 00004580  E540                     asl        D0.w, 2
  6949. 00004582  41ED F9DA                lea.l      A0, [A5 - 0x626]
  6950. 00004586  2070 0000                movea.l    A0, [A0 + D0.w]
  6951. 0000458A  A02B                     syscall    EmptyHandle
  6952. 0000458C  3007                     move.w     D0, D7
  6953. 0000458E  5247                     addq.w     D7, 1
  6954. 00004590  0C47 0019                cmpi.w     D7, 0x19
  6955. 00004594  6DE8                     blt        -0x16 /* 0000457E */
  6956. 00004596  4EAD 059A                jsr        [A5 + 0x59A /* export_175 */]
  6957. 0000459A  7013                     moveq.l    D0, 0x13
  6958. 0000459C  2F00                     move.l     -[A7], D0
  6959. 0000459E  322D FDA2                move.w     D1, [A5 - 0x25E]
  6960. 000045A2  48C1                     ext.l      D1
  6961. 000045A4  2F01                     move.l     -[A7], D1
  6962. 000045A6  4EBA 028A                jsr        [PC + 0x28A /* 00004832 */]
  6963. 000045AA  4A00                     tst.b      D0
  6964. 000045AC  504F                     addq.w     A7, 8
  6965. 000045AE  672E                     beq        +0x30 /* 000045DE */
  6966. 000045B0  3B6D D338 FDA2           move.w     [A5 - 0x25E], [A5 - 0x2CC8]
  6967. 000045B6  4EBA 0062                jsr        [PC + 0x62 /* 0000461A */]
  6968. 000045BA  4A00                     tst.b      D0
  6969. 000045BC  6720                     beq        +0x22 /* 000045DE */
  6970. 000045BE  7004                     moveq.l    D0, 0x04
  6971. 000045C0  2F00                     move.l     -[A7], D0
  6972. 000045C2  7264                     moveq.l    D1, 0x64
  6973. 000045C4  2F01                     move.l     -[A7], D1
  6974. 000045C6  4EBA EFF6                jsr        [PC - 0x100A /* 000035BE */]
  6975. 000045CA  7001                     moveq.l    D0, 0x01
  6976. 000045CC  2F00                     move.l     -[A7], D0
  6977. 000045CE  7202                     moveq.l    D1, 0x02
  6978. 000045D0  2F01                     move.l     -[A7], D1
  6979. 000045D2  4EBA EF06                jsr        [PC - 0x10FA /* 000034DA */]
  6980. 000045D6  422D DC9A                clr.b      [A5 - 0x2366]
  6981. 000045DA  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6982. label000045DE:
  6983. 000045DE  4CEE 0088 FFF8           movem.l    D3,D7, [A6 - 0x8]
  6984. 000045E4  4E5E                     unlink     A6
  6985. 000045E6  4E75                     rts
  6986. fn000045E8:
  6987. 000045E8  4E56 0000                link       A6, 0
  6988. 000045EC  7014                     moveq.l    D0, 0x14
  6989. 000045EE  2F00                     move.l     -[A7], D0
  6990. 000045F0  7200                     moveq.l    D1, 0x00
  6991. 000045F2  2F01                     move.l     -[A7], D1
  6992. 000045F4  4EBA 023C                jsr        [PC + 0x23C /* 00004832 */]
  6993. 000045F8  4A00                     tst.b      D0
  6994. 000045FA  504F                     addq.w     A7, 8
  6995. 000045FC  6718                     beq        +0x1A /* 00004616 */
  6996. 000045FE  4EAD 047A                jsr        [A5 + 0x47A /* export_139 */]
  6997. 00004602  7003                     moveq.l    D0, 0x03
  6998. 00004604  2F00                     move.l     -[A7], D0
  6999. 00004606  7264                     moveq.l    D1, 0x64
  7000. 00004608  2F01                     move.l     -[A7], D1
  7001. 0000460A  4EBA EFB2                jsr        [PC - 0x104E /* 000035BE */]
  7002. 0000460E  7003                     moveq.l    D0, 0x03
  7003. 00004610  2F00                     move.l     -[A7], D0
  7004. 00004612  4EBA FCCE                jsr        [PC - 0x332 /* 000042E2 */]
  7005. label00004616:
  7006. 00004616  4E5E                     unlink     A6
  7007. 00004618  4E75                     rts
  7008. fn0000461A:
  7009. 0000461A  4E56 FFF0                link       A6, -0x0010
  7010. 0000461E  48E7 1F18                movem.l    -[A7], D3,D4,D5,D6,D7,A3,A4
  7011. 00004622  49EE FFFC                lea.l      A4, [A6 - 0x4]
  7012. 00004626  4EBA C8A8                jsr        [PC - 0x3758 /* 00000ED0 */]
  7013. 0000462A  3B6D D9C8 D8A6           move.w     [A5 - 0x275A], [A5 - 0x2638]
  7014. 00004630  1B6D D9CC D8A4           move.b     [A5 - 0x275C], [A5 - 0x2634]
  7015. 00004636  7003                     moveq.l    D0, 0x03
  7016. 00004638  B06D D8A6                cmp.w      D0, [A5 - 0x275A]
  7017. 0000463C  6706                     beq        +0x8 /* 00004644 */
  7018. 0000463E  7001                     moveq.l    D0, 0x01
  7019. 00004640  6000 01E6                bra        +0x1E8 /* 00004828 */
  7020. label00004644:
  7021. 00004644  7801                     moveq.l    D4, 0x01
  7022. 00004646  1D7C 0001 FFF7           move.b     [A6 - 0x9], 0x1
  7023. 0000464C  7006                     moveq.l    D0, 0x06
  7024. 0000464E  B06D D338                cmp.w      D0, [A5 - 0x2CC8]
  7025. 00004652  670E                     beq        +0x10 /* 00004662 */
  7026. 00004654  3D6D D338 FFF4           move.w     [A6 - 0xC], [A5 - 0x2CC8]
  7027. 0000465A  3D6D D338 FFF2           move.w     [A6 - 0xE], [A5 - 0x2CC8]
  7028. 00004660  600A                     bra        +0xC /* 0000466C */
  7029. label00004662:
  7030. 00004662  426E FFF2                clr.w      [A6 - 0xE]
  7031. 00004666  3D7C 0005 FFF4           move.w     [A6 - 0xC], 0x5
  7032. label0000466C:
  7033. 0000466C  3A2E FFF2                move.w     D5, [A6 - 0xE]
  7034. 00004670  6000 00B4                bra        +0xB6 /* 00004726 */
  7035. label00004674:
  7036. 00004674  41ED D8A8                lea.l      A0, [A5 - 0x2758]
  7037. 00004678  4A30 5000                tst.b      [A0 + D5.w]
  7038. 0000467C  6700 00A6                beq        +0xA8 /* 00004724 */
  7039. 00004680  598F                     subq.l     A7, 4
  7040. 00004682  2F3C 4341 5447           move.l     -[A7], 0x43415447 /* 'CATG' */
  7041. 00004688  3005                     move.w     D0, D5
  7042. 0000468A  D07C 0080                add.w      D0, 0x80
  7043. 0000468E  3F00                     move.w     -[A7], D0
  7044. 00004690  A9A0                     syscall    GetResource
  7045. 00004692  2D5F FFF8                move.l     [A6 - 0x8], [A7]+
  7046. 00004696  6614                     bne        +0x16 /* 000046AC */
  7047. 00004698  486D FD3E                pea.l      [A5 - 0x2C2]
  7048. 0000469C  558F                     subq.l     A7, 2
  7049. 0000469E  A9AF                     syscall    ResError
  7050. 000046A0  301F                     move.w     D0, [A7]+
  7051. 000046A2  48C0                     ext.l      D0
  7052. 000046A4  2F00                     move.l     -[A7], D0
  7053. 000046A6  4EBA E8FE                jsr        [PC - 0x1702 /* 00002FA6 */]
  7054. 000046AA  504F                     addq.w     A7, 8
  7055. label000046AC:
  7056. 000046AC  206E FFF8                movea.l    A0, [A6 - 0x8]
  7057. 000046B0  A029                     syscall    HLock
  7058. 000046B2  206E FFF8                movea.l    A0, [A6 - 0x8]
  7059. 000046B6  2650                     movea.l    A3, [A0]
  7060. 000046B8  4294                     clr.l      [A4]
  7061. 000046BA  4247                     clr.w      D7
  7062. 000046BC  6046                     bra        +0x48 /* 00004704 */
  7063. label000046BE:
  7064. 000046BE  48C5                     ext.l      D5
  7065. 000046C0  2005                     move.l     D0, D5
  7066. 000046C2  2200                     move.l     D1, D0
  7067. 000046C4  C0FC 0028                mulu.w     D0, 0x28 /* '(' */
  7068. 000046C8  4841                     swap.w     D1
  7069. 000046CA  C2FC 0028                mulu.w     D1, 0x28 /* '(' */
  7070. 000046CE  4841                     swap.w     D1
  7071. 000046D0  4241                     clr.w      D1
  7072. 000046D2  D081                     add.l      D0, D1
  7073. 000046D4  41ED D8B0                lea.l      A0, [A5 - 0x2750]
  7074. 000046D8  2207                     move.l     D1, D7
  7075. 000046DA  48C1                     ext.l      D1
  7076. 000046DC  D280                     add.l      D1, D0
  7077. 000046DE  4A30 1800                tst.b      [A0 + D1]
  7078. 000046E2  671E                     beq        +0x20 /* 00004702 */
  7079. 000046E4  48C7                     ext.l      D7
  7080. 000046E6  2007                     move.l     D0, D7
  7081. 000046E8  E580                     asl        D0, 2
  7082. 000046EA  7C00                     moveq.l    D6, 0x00
  7083. 000046EC  1C33 0806                move.b     D6, [A3 + D0 + 0x6]
  7084. 000046F0  0C46 0015                cmpi.w     D6, 0x15
  7085. 000046F4  6C04                     bge        +0x6 /* 000046FA */
  7086. 000046F6  526C 0002                addq.w     [A4 + 0x2], 1
  7087. label000046FA:
  7088. 000046FA  0C46 000B                cmpi.w     D6, 0xB
  7089. 000046FE  6C02                     bge        +0x4 /* 00004702 */
  7090. 00004700  5254                     addq.w     [A4], 1
  7091. label00004702:
  7092. 00004702  5247                     addq.w     D7, 1
  7093. label00004704:
  7094. 00004704  7000                     moveq.l    D0, 0x00
  7095. 00004706  102B 0002                move.b     D0, [A3 + 0x2]
  7096. 0000470A  B047                     cmp.w      D0, D7
  7097. 0000470C  6EB0                     bgt        -0x4E /* 000046BE */
  7098. 0000470E  206E FFF8                movea.l    A0, [A6 - 0x8]
  7099. 00004712  A02A                     syscall    HUnlock
  7100. 00004714  4A54                     tst.w      [A4]
  7101. 00004716  6602                     bne        +0x4 /* 0000471A */
  7102. 00004718  4204                     clr.b      D4
  7103. label0000471A:
  7104. 0000471A  4A6C 0002                tst.w      [A4 + 0x2]
  7105. 0000471E  6604                     bne        +0x6 /* 00004724 */
  7106. 00004720  422E FFF7                clr.b      [A6 - 0x9]
  7107. label00004724:
  7108. 00004724  5245                     addq.w     D5, 1
  7109. label00004726:
  7110. 00004726  BA6E FFF4                cmp.w      D5, [A6 - 0xC]
  7111. 0000472A  6F00 FF48                ble        -0xB6 /* 00004674 */
  7112. 0000472E  4A04                     tst.b      D4
  7113. 00004730  6612                     bne        +0x14 /* 00004744 */
  7114. 00004732  4A2E FFF7                tst.b      [A6 - 0x9]
  7115. 00004736  660C                     bne        +0xE /* 00004744 */
  7116. 00004738  3B7C 0002 D8A6           move.w     [A5 - 0x275A], 0x2
  7117. 0000473E  7001                     moveq.l    D0, 0x01
  7118. 00004740  6000 00E6                bra        +0xE8 /* 00004828 */
  7119. label00004744:
  7120. 00004744  598F                     subq.l     A7, 4
  7121. 00004746  3F3C 2B5C                move.w     -[A7], 0x2B5C /* '+\\' */
  7122. 0000474A  7000                     moveq.l    D0, 0x00
  7123. 0000474C  2F00                     move.l     -[A7], D0
  7124. 0000474E  72FF                     moveq.l    D1, 0xFFFFFFFF
  7125. 00004750  2F01                     move.l     -[A7], D1
  7126. 00004752  A97C                     syscall    GetNewDialog
  7127. 00004754  265F                     movea.l    A3, [A7]+
  7128. 00004756  200B                     move.l     D0, A3
  7129. 00004758  660E                     bne        +0x10 /* 00004768 */
  7130. 0000475A  486D FD48                pea.l      [A5 - 0x2B8]
  7131. 0000475E  7094                     moveq.l    D0, 0xFFFFFF94
  7132. 00004760  2F00                     move.l     -[A7], D0
  7133. 00004762  4EBA E842                jsr        [PC - 0x17BE /* 00002FA6 */]
  7134. 00004766  504F                     addq.w     A7, 8
  7135. label00004768:
  7136. 00004768  4A04                     tst.b      D4
  7137. 0000476A  6614                     bne        +0x16 /* 00004780 */
  7138. 0000476C  7004                     moveq.l    D0, 0x04
  7139. 0000476E  2F00                     move.l     -[A7], D0
  7140. 00004770  2F0B                     move.l     -[A7], A3
  7141. 00004772  4EBA C156                jsr        [PC - 0x3EAA /* 000008CA */]
  7142. 00004776  508F                     addq.l     A7, 8
  7143. 00004778  2F00                     move.l     -[A7], D0
  7144. 0000477A  3F3C 00FF                move.w     -[A7], 0xFF
  7145. 0000477E  A95D                     syscall    HiliteControl
  7146. label00004780:
  7147. 00004780  2F0B                     move.l     -[A7], A3
  7148. 00004782  4EBA BDFE                jsr        [PC - 0x4202 /* 00000582 */]
  7149. 00004786  7003                     moveq.l    D0, 0x03
  7150. 00004788  2F00                     move.l     -[A7], D0
  7151. 0000478A  7201                     moveq.l    D1, 0x01
  7152. 0000478C  2F01                     move.l     -[A7], D1
  7153. 0000478E  2F0B                     move.l     -[A7], A3
  7154. 00004790  4EBA C368                jsr        [PC - 0x3C98 /* 00000AFA */]
  7155. 00004794  7006                     moveq.l    D0, 0x06
  7156. 00004796  2F00                     move.l     -[A7], D0
  7157. 00004798  2F00                     move.l     -[A7], D0
  7158. 0000479A  7204                     moveq.l    D1, 0x04
  7159. 0000479C  2F01                     move.l     -[A7], D1
  7160. 0000479E  2F0B                     move.l     -[A7], A3
  7161. 000047A0  4EBA C200                jsr        [PC - 0x3E00 /* 000009A2 */]
  7162. 000047A4  2F0B                     move.l     -[A7], A3
  7163. 000047A6  A915                     syscall    ShowWindow
  7164. 000047A8  4FEF 0020                lea.l      A7, [A7 + 0x20]
  7165. label000047AC:
  7166. 000047AC  486D 0272                pea.l      [A5 + 0x272 /* export_74 */]
  7167. 000047B0  486E FFF0                pea.l      [A6 - 0x10]
  7168. 000047B4  A991                     syscall    ModalDialog
  7169. 000047B6  7004                     moveq.l    D0, 0x04
  7170. 000047B8  B06E FFF0                cmp.w      D0, [A6 - 0x10]
  7171. 000047BC  6E22                     bgt        +0x24 /* 000047E0 */
  7172. 000047BE  7006                     moveq.l    D0, 0x06
  7173. 000047C0  B06E FFF0                cmp.w      D0, [A6 - 0x10]
  7174. 000047C4  6D1A                     blt        +0x1C /* 000047E0 */
  7175. 000047C6  302E FFF0                move.w     D0, [A6 - 0x10]
  7176. 000047CA  48C0                     ext.l      D0
  7177. 000047CC  2F00                     move.l     -[A7], D0
  7178. 000047CE  7006                     moveq.l    D0, 0x06
  7179. 000047D0  2F00                     move.l     -[A7], D0
  7180. 000047D2  7204                     moveq.l    D1, 0x04
  7181. 000047D4  2F01                     move.l     -[A7], D1
  7182. 000047D6  2F0B                     move.l     -[A7], A3
  7183. 000047D8  4EBA C1C8                jsr        [PC - 0x3E38 /* 000009A2 */]
  7184. 000047DC  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7185. label000047E0:
  7186. 000047E0  7001                     moveq.l    D0, 0x01
  7187. 000047E2  B06E FFF0                cmp.w      D0, [A6 - 0x10]
  7188. 000047E6  6708                     beq        +0xA /* 000047F0 */
  7189. 000047E8  7002                     moveq.l    D0, 0x02
  7190. 000047EA  B06E FFF0                cmp.w      D0, [A6 - 0x10]
  7191. 000047EE  66BC                     bne        -0x42 /* 000047AC */
  7192. label000047F0:
  7193. 000047F0  7002                     moveq.l    D0, 0x02
  7194. 000047F2  B06E FFF0                cmp.w      D0, [A6 - 0x10]
  7195. 000047F6  6608                     bne        +0xA /* 00004800 */
  7196. 000047F8  2F0B                     move.l     -[A7], A3
  7197. 000047FA  A983                     syscall    DisposeDialog
  7198. 000047FC  7000                     moveq.l    D0, 0x00
  7199. 000047FE  6028                     bra        +0x2A /* 00004828 */
  7200. label00004800:
  7201. 00004800  7C04                     moveq.l    D6, 0x04
  7202. label00004802:
  7203. 00004802  48C6                     ext.l      D6
  7204. 00004804  2F06                     move.l     -[A7], D6
  7205. 00004806  2F0B                     move.l     -[A7], A3
  7206. 00004808  4EBA C044                jsr        [PC - 0x3FBC /* 0000084E */]
  7207. 0000480C  4A40                     tst.w      D0
  7208. 0000480E  504F                     addq.w     A7, 8
  7209. 00004810  6608                     bne        +0xA /* 0000481A */
  7210. 00004812  5246                     addq.w     D6, 1
  7211. 00004814  0C46 0006                cmpi.w     D6, 0x6
  7212. 00004818  6FE8                     ble        -0x16 /* 00004802 */
  7213. label0000481A:
  7214. 0000481A  3006                     move.w     D0, D6
  7215. 0000481C  5940                     subq.w     D0, 4
  7216. 0000481E  3B40 D8A6                move.w     [A5 - 0x275A], D0
  7217. 00004822  2F0B                     move.l     -[A7], A3
  7218. 00004824  A983                     syscall    DisposeDialog
  7219. 00004826  7001                     moveq.l    D0, 0x01
  7220. label00004828:
  7221. 00004828  4CEE 18F8 FFD4           movem.l    D3,D4,D5,D6,D7,A3,A4, [A6 - 0x2C]
  7222. 0000482E  4E5E                     unlink     A6
  7223. 00004830  4E75                     rts
  7224. fn00004832:
  7225. 00004832  4E56 FEEC                link       A6, -0x0114
  7226. 00004836  48E7 1F18                movem.l    -[A7], D3,D4,D5,D6,D7,A3,A4
  7227. 0000483A  47EE FF00                lea.l      A3, [A6 - 0x100]
  7228. 0000483E  4EBA C690                jsr        [PC - 0x3970 /* 00000ED0 */]
  7229. 00004842  4247                     clr.w      D7
  7230. 00004844  4245                     clr.w      D5
  7231. 00004846  7606                     moveq.l    D3, 0x06
  7232. 00004848  6010                     bra        +0x12 /* 0000485A */
  7233. label0000484A:
  7234. 0000484A  41ED D8A8                lea.l      A0, [A5 - 0x2758]
  7235. 0000484E  4A30 7000                tst.b      [A0 + D7.w]
  7236. 00004852  6702                     beq        +0x4 /* 00004856 */
  7237. 00004854  5245                     addq.w     D5, 1
  7238. label00004856:
  7239. 00004856  3007                     move.w     D0, D7
  7240. 00004858  5247                     addq.w     D7, 1
  7241. label0000485A:
  7242. 0000485A  B647                     cmp.w      D3, D7
  7243. 0000485C  6EEC                     bgt        -0x12 /* 0000484A */
  7244. 0000485E  4A2D D8AE                tst.b      [A5 - 0x2752]
  7245. 00004862  6708                     beq        +0xA /* 0000486C */
  7246. 00004864  4A2D D9CB                tst.b      [A5 - 0x2635]
  7247. 00004868  6702                     beq        +0x4 /* 0000486C */
  7248. 0000486A  5245                     addq.w     D5, 1
  7249. label0000486C:
  7250. 0000486C  0C45 0001                cmpi.w     D5, 0x1
  7251. 00004870  6620                     bne        +0x22 /* 00004892 */
  7252. 00004872  4247                     clr.w      D7
  7253. 00004874  7606                     moveq.l    D3, 0x06
  7254. label00004876:
  7255. 00004876  41ED D8A8                lea.l      A0, [A5 - 0x2758]
  7256. 0000487A  4A30 7000                tst.b      [A0 + D7.w]
  7257. 0000487E  670A                     beq        +0xC /* 0000488A */
  7258. 00004880  3B47 D338                move.w     [A5 - 0x2CC8], D7
  7259. 00004884  7001                     moveq.l    D0, 0x01
  7260. 00004886  6000 02A4                bra        +0x2A6 /* 00004B2C */
  7261. label0000488A:
  7262. 0000488A  3007                     move.w     D0, D7
  7263. 0000488C  5247                     addq.w     D7, 1
  7264. 0000488E  B647                     cmp.w      D3, D7
  7265. 00004890  6CE4                     bge        -0x1A /* 00004876 */
  7266. label00004892:
  7267. 00004892  2F0B                     move.l     -[A7], A3
  7268. 00004894  3F3C 0FA0                move.w     -[A7], 0xFA0
  7269. 00004898  3F2E 000E                move.w     -[A7], [A6 + 0xE]
  7270. 0000489C  4EBA 1342                jsr        [PC + 0x1342 /* 00005BE0 */]
  7271. 000048A0  2F0B                     move.l     -[A7], A3
  7272. 000048A2  7000                     moveq.l    D0, 0x00
  7273. 000048A4  2F00                     move.l     -[A7], D0
  7274. 000048A6  2F00                     move.l     -[A7], D0
  7275. 000048A8  2F00                     move.l     -[A7], D0
  7276. 000048AA  A98B                     syscall    ParamText
  7277. 000048AC  598F                     subq.l     A7, 4
  7278. 000048AE  3F3C 2B5B                move.w     -[A7], 0x2B5B /* '+[' */
  7279. 000048B2  7000                     moveq.l    D0, 0x00
  7280. 000048B4  2F00                     move.l     -[A7], D0
  7281. 000048B6  72FF                     moveq.l    D1, 0xFFFFFFFF
  7282. 000048B8  2F01                     move.l     -[A7], D1
  7283. 000048BA  A97C                     syscall    GetNewDialog
  7284. 000048BC  285F                     movea.l    A4, [A7]+
  7285. 000048BE  200C                     move.l     D0, A4
  7286. 000048C0  660E                     bne        +0x10 /* 000048D0 */
  7287. 000048C2  486D FD56                pea.l      [A5 - 0x2AA]
  7288. 000048C6  7094                     moveq.l    D0, 0xFFFFFF94
  7289. 000048C8  2F00                     move.l     -[A7], D0
  7290. 000048CA  4EBA E6DA                jsr        [PC - 0x1926 /* 00002FA6 */]
  7291. 000048CE  504F                     addq.w     A7, 8
  7292. label000048D0:
  7293. 000048D0  486E FEF6                pea.l      [A6 - 0x10A]
  7294. 000048D4  7004                     moveq.l    D0, 0x04
  7295. 000048D6  2F00                     move.l     -[A7], D0
  7296. 000048D8  2F0C                     move.l     -[A7], A4
  7297. 000048DA  4EBA C010                jsr        [PC - 0x3FF0 /* 000008EC */]
  7298. 000048DE  382E FEF6                move.w     D4, [A6 - 0x10A]
  7299. 000048E2  3A2E FEFA                move.w     D5, [A6 - 0x106]
  7300. 000048E6  9A6E FEF6                sub.w      D5, [A6 - 0x10A]
  7301. 000048EA  486E FEF6                pea.l      [A6 - 0x10A]
  7302. 000048EE  7005                     moveq.l    D0, 0x05
  7303. 000048F0  2F00                     move.l     -[A7], D0
  7304. 000048F2  2F0C                     move.l     -[A7], A4
  7305. 000048F4  4EBA BFF6                jsr        [PC - 0x400A /* 000008EC */]
  7306. 000048F8  48C4                     ext.l      D4
  7307. 000048FA  48C5                     ext.l      D5
  7308. 000048FC  2004                     move.l     D0, D4
  7309. 000048FE  D085                     add.l      D0, D5
  7310. 00004900  322E FEF6                move.w     D1, [A6 - 0x10A]
  7311. 00004904  9240                     sub.w      D1, D0
  7312. 00004906  3D41 FEEC                move.w     [A6 - 0x114], D1
  7313. 0000490A  486E FEF6                pea.l      [A6 - 0x10A]
  7314. 0000490E  700A                     moveq.l    D0, 0x0A
  7315. 00004910  2F00                     move.l     -[A7], D0
  7316. 00004912  2F0C                     move.l     -[A7], A4
  7317. 00004914  4EBA BFD6                jsr        [PC - 0x402A /* 000008EC */]
  7318. 00004918  3D6E FEF6 FEEE           move.w     [A6 - 0x112], [A6 - 0x10A]
  7319. 0000491E  4246                     clr.w      D6
  7320. 00004920  4247                     clr.w      D7
  7321. 00004922  4FEF 0024                lea.l      A7, [A7 + 0x24]
  7322. 00004926  6000 0082                bra        +0x84 /* 000049AA */
  7323. label0000492A:
  7324. 0000492A  41ED D8A8                lea.l      A0, [A5 - 0x2758]
  7325. 0000492E  4A30 7000                tst.b      [A0 + D7.w]
  7326. 00004932  676A                     beq        +0x6C /* 0000499E */
  7327. 00004934  0C47 0006                cmpi.w     D7, 0x6
  7328. 00004938  6606                     bne        +0x8 /* 00004940 */
  7329. 0000493A  4A2D D9CB                tst.b      [A5 - 0x2635]
  7330. 0000493E  6768                     beq        +0x6A /* 000049A8 */
  7331. label00004940:
  7332. 00004940  2F0C                     move.l     -[A7], A4
  7333. 00004942  3007                     move.w     D0, D7
  7334. 00004944  5840                     addq.w     D0, 4
  7335. 00004946  3F00                     move.w     -[A7], D0
  7336. 00004948  486E FEF0                pea.l      [A6 - 0x110]
  7337. 0000494C  486E FEF2                pea.l      [A6 - 0x10E]
  7338. 00004950  486E FEF6                pea.l      [A6 - 0x10A]
  7339. 00004954  A98D                     syscall    GetDialogItem/GetDItem
  7340. 00004956  48C6                     ext.l      D6
  7341. 00004958  48C5                     ext.l      D5
  7342. 0000495A  302E FEEC                move.w     D0, [A6 - 0x114]
  7343. 0000495E  48C0                     ext.l      D0
  7344. 00004960  D085                     add.l      D0, D5
  7345. 00004962  2200                     move.l     D1, D0
  7346. 00004964  2006                     move.l     D0, D6
  7347. 00004966  4EBA 0C22                jsr        [PC + 0xC22 /* 0000558A */]
  7348. 0000496A  D044                     add.w      D0, D4
  7349. 0000496C  3D40 FEF6                move.w     [A6 - 0x10A], D0
  7350. 00004970  3005                     move.w     D0, D5
  7351. 00004972  D06E FEF6                add.w      D0, [A6 - 0x10A]
  7352. 00004976  3D40 FEFA                move.w     [A6 - 0x106], D0
  7353. 0000497A  2F0C                     move.l     -[A7], A4
  7354. 0000497C  3007                     move.w     D0, D7
  7355. 0000497E  5840                     addq.w     D0, 4
  7356. 00004980  3F00                     move.w     -[A7], D0
  7357. 00004982  3F2E FEF0                move.w     -[A7], [A6 - 0x110]
  7358. 00004986  2F2E FEF2                move.l     -[A7], [A6 - 0x10E]
  7359. 0000498A  486E FEF6                pea.l      [A6 - 0x10A]
  7360. 0000498E  A98E                     syscall    SetDialogItem/SetDItem
  7361. 00004990  2F2E FEF2                move.l     -[A7], [A6 - 0x10E]
  7362. 00004994  2F2E FEF6                move.l     -[A7], [A6 - 0x10A]
  7363. 00004998  A959                     syscall    MoveControl
  7364. 0000499A  5246                     addq.w     D6, 1
  7365. 0000499C  600A                     bra        +0xC /* 000049A8 */
  7366. label0000499E:
  7367. 0000499E  2F0C                     move.l     -[A7], A4
  7368. 000049A0  3007                     move.w     D0, D7
  7369. 000049A2  5840                     addq.w     D0, 4
  7370. 000049A4  3F00                     move.w     -[A7], D0
  7371. 000049A6  A827                     syscall    HideDialogItem/HideDItem
  7372. label000049A8:
  7373. 000049A8  5247                     addq.w     D7, 1
  7374. label000049AA:
  7375. 000049AA  0C47 0006                cmpi.w     D7, 0x6
  7376. 000049AE  6F00 FF7A                ble        -0x84 /* 0000492A */
  7377. 000049B2  382E FEEE                move.w     D4, [A6 - 0x112]
  7378. 000049B6  986E FEFA                sub.w      D4, [A6 - 0x106]
  7379. 000049BA  3D7C 0001 FEFE           move.w     [A6 - 0x102], 0x1
  7380. label000049C0:
  7381. 000049C0  2F0C                     move.l     -[A7], A4
  7382. 000049C2  3F2E FEFE                move.w     -[A7], [A6 - 0x102]
  7383. 000049C6  486E FEF0                pea.l      [A6 - 0x110]
  7384. 000049CA  486E FEF2                pea.l      [A6 - 0x10E]
  7385. 000049CE  486E FEF6                pea.l      [A6 - 0x10A]
  7386. 000049D2  A98D                     syscall    GetDialogItem/GetDItem
  7387. 000049D4  486E FEF6                pea.l      [A6 - 0x10A]
  7388. 000049D8  7000                     moveq.l    D0, 0x00
  7389. 000049DA  3F00                     move.w     -[A7], D0
  7390. 000049DC  48C4                     ext.l      D4
  7391. 000049DE  2204                     move.l     D1, D4
  7392. 000049E0  4481                     neg.l      D1
  7393. 000049E2  3F01                     move.w     -[A7], D1
  7394. 000049E4  A8A8                     syscall    OffsetRect
  7395. 000049E6  2F0C                     move.l     -[A7], A4
  7396. 000049E8  3F2E FEFE                move.w     -[A7], [A6 - 0x102]
  7397. 000049EC  3F2E FEF0                move.w     -[A7], [A6 - 0x110]
  7398. 000049F0  2F2E FEF2                move.l     -[A7], [A6 - 0x10E]
  7399. 000049F4  486E FEF6                pea.l      [A6 - 0x10A]
  7400. 000049F8  A98E                     syscall    SetDialogItem/SetDItem
  7401. 000049FA  2F2E FEF2                move.l     -[A7], [A6 - 0x10E]
  7402. 000049FE  2F2E FEF6                move.l     -[A7], [A6 - 0x10A]
  7403. 00004A02  A959                     syscall    MoveControl
  7404. 00004A04  302E FEFE                move.w     D0, [A6 - 0x102]
  7405. 00004A08  526E FEFE                addq.w     [A6 - 0x102], 1
  7406. 00004A0C  7002                     moveq.l    D0, 0x02
  7407. 00004A0E  B06E FEFE                cmp.w      D0, [A6 - 0x102]
  7408. 00004A12  6CAC                     bge        -0x52 /* 000049C0 */
  7409. 00004A14  41EE FEF6                lea.l      A0, [A6 - 0x10A]
  7410. 00004A18  43EC 0010                lea.l      A1, [A4 + 0x10]
  7411. 00004A1C  20D9                     move.l     [A0]+, [A1]+
  7412. 00004A1E  20D9                     move.l     [A0]+, [A1]+
  7413. 00004A20  996E FEFA                sub.w      [A6 - 0x106], D4
  7414. 00004A24  2F0C                     move.l     -[A7], A4
  7415. 00004A26  2F2E FEFA                move.l     -[A7], [A6 - 0x106]
  7416. 00004A2A  7000                     moveq.l    D0, 0x00
  7417. 00004A2C  1F00                     move.b     -[A7], D0
  7418. 00004A2E  A91D                     syscall    SizeWindow
  7419. 00004A30  7003                     moveq.l    D0, 0x03
  7420. 00004A32  2F00                     move.l     -[A7], D0
  7421. 00004A34  7201                     moveq.l    D1, 0x01
  7422. 00004A36  2F01                     move.l     -[A7], D1
  7423. 00004A38  2F0C                     move.l     -[A7], A4
  7424. 00004A3A  4EBA C0BE                jsr        [PC - 0x3F42 /* 00000AFA */]
  7425. 00004A3E  302E 000A                move.w     D0, [A6 + 0xA]
  7426. 00004A42  41ED D8A8                lea.l      A0, [A5 - 0x2758]
  7427. 00004A46  4A30 0000                tst.b      [A0 + D0.w]
  7428. 00004A4A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7429. 00004A4E  671E                     beq        +0x20 /* 00004A6E */
  7430. 00004A50  302E 000A                move.w     D0, [A6 + 0xA]
  7431. 00004A54  48C0                     ext.l      D0
  7432. 00004A56  5880                     addq.l     D0, 4
  7433. 00004A58  2F00                     move.l     -[A7], D0
  7434. 00004A5A  700A                     moveq.l    D0, 0x0A
  7435. 00004A5C  2F00                     move.l     -[A7], D0
  7436. 00004A5E  7204                     moveq.l    D1, 0x04
  7437. 00004A60  2F01                     move.l     -[A7], D1
  7438. 00004A62  2F0C                     move.l     -[A7], A4
  7439. 00004A64  4EBA BF3C                jsr        [PC - 0x40C4 /* 000009A2 */]
  7440. 00004A68  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7441. 00004A6C  6034                     bra        +0x36 /* 00004AA2 */
  7442. label00004A6E:
  7443. 00004A6E  7E04                     moveq.l    D7, 0x04
  7444. label00004A70:
  7445. 00004A70  48C7                     ext.l      D7
  7446. 00004A72  2F07                     move.l     -[A7], D7
  7447. 00004A74  2F0C                     move.l     -[A7], A4
  7448. 00004A76  4EBA BE92                jsr        [PC - 0x416E /* 0000090A */]
  7449. 00004A7A  4A00                     tst.b      D0
  7450. 00004A7C  504F                     addq.w     A7, 8
  7451. 00004A7E  6718                     beq        +0x1A /* 00004A98 */
  7452. 00004A80  48C7                     ext.l      D7
  7453. 00004A82  2F07                     move.l     -[A7], D7
  7454. 00004A84  700A                     moveq.l    D0, 0x0A
  7455. 00004A86  2F00                     move.l     -[A7], D0
  7456. 00004A88  7204                     moveq.l    D1, 0x04
  7457. 00004A8A  2F01                     move.l     -[A7], D1
  7458. 00004A8C  2F0C                     move.l     -[A7], A4
  7459. 00004A8E  4EBA BF12                jsr        [PC - 0x40EE /* 000009A2 */]
  7460. 00004A92  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7461. 00004A96  600A                     bra        +0xC /* 00004AA2 */
  7462. label00004A98:
  7463. 00004A98  3007                     move.w     D0, D7
  7464. 00004A9A  5247                     addq.w     D7, 1
  7465. 00004A9C  0C47 000A                cmpi.w     D7, 0xA /* '\n' */
  7466. 00004AA0  6FCE                     ble        -0x30 /* 00004A70 */
  7467. label00004AA2:
  7468. 00004AA2  2F0C                     move.l     -[A7], A4
  7469. 00004AA4  4EBA BADC                jsr        [PC - 0x4524 /* 00000582 */]
  7470. 00004AA8  2F0C                     move.l     -[A7], A4
  7471. 00004AAA  A915                     syscall    ShowWindow
  7472. 00004AAC  584F                     addq.w     A7, 4
  7473. label00004AAE:
  7474. 00004AAE  486D 0272                pea.l      [A5 + 0x272 /* export_74 */]
  7475. 00004AB2  486E FEFE                pea.l      [A6 - 0x102]
  7476. 00004AB6  A991                     syscall    ModalDialog
  7477. 00004AB8  7004                     moveq.l    D0, 0x04
  7478. 00004ABA  B06E FEFE                cmp.w      D0, [A6 - 0x102]
  7479. 00004ABE  6E22                     bgt        +0x24 /* 00004AE2 */
  7480. 00004AC0  700A                     moveq.l    D0, 0x0A
  7481. 00004AC2  B06E FEFE                cmp.w      D0, [A6 - 0x102]
  7482. 00004AC6  6D1A                     blt        +0x1C /* 00004AE2 */
  7483. 00004AC8  302E FEFE                move.w     D0, [A6 - 0x102]
  7484. 00004ACC  48C0                     ext.l      D0
  7485. 00004ACE  2F00                     move.l     -[A7], D0
  7486. 00004AD0  700A                     moveq.l    D0, 0x0A
  7487. 00004AD2  2F00                     move.l     -[A7], D0
  7488. 00004AD4  7204                     moveq.l    D1, 0x04
  7489. 00004AD6  2F01                     move.l     -[A7], D1
  7490. 00004AD8  2F0C                     move.l     -[A7], A4
  7491. 00004ADA  4EBA BEC6                jsr        [PC - 0x413A /* 000009A2 */]
  7492. 00004ADE  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7493. label00004AE2:
  7494. 00004AE2  7001                     moveq.l    D0, 0x01
  7495. 00004AE4  B06E FEFE                cmp.w      D0, [A6 - 0x102]
  7496. 00004AE8  6708                     beq        +0xA /* 00004AF2 */
  7497. 00004AEA  7002                     moveq.l    D0, 0x02
  7498. 00004AEC  B06E FEFE                cmp.w      D0, [A6 - 0x102]
  7499. 00004AF0  66BC                     bne        -0x42 /* 00004AAE */
  7500. label00004AF2:
  7501. 00004AF2  7002                     moveq.l    D0, 0x02
  7502. 00004AF4  B06E FEFE                cmp.w      D0, [A6 - 0x102]
  7503. 00004AF8  6608                     bne        +0xA /* 00004B02 */
  7504. 00004AFA  2F0C                     move.l     -[A7], A4
  7505. 00004AFC  A983                     syscall    DisposeDialog
  7506. 00004AFE  7000                     moveq.l    D0, 0x00
  7507. 00004B00  602A                     bra        +0x2C /* 00004B2C */
  7508. label00004B02:
  7509. 00004B02  7E04                     moveq.l    D7, 0x04
  7510. label00004B04:
  7511. 00004B04  48C7                     ext.l      D7
  7512. 00004B06  2F07                     move.l     -[A7], D7
  7513. 00004B08  2F0C                     move.l     -[A7], A4
  7514. 00004B0A  4EBA BD42                jsr        [PC - 0x42BE /* 0000084E */]
  7515. 00004B0E  4A40                     tst.w      D0
  7516. 00004B10  504F                     addq.w     A7, 8
  7517. 00004B12  660A                     bne        +0xC /* 00004B1E */
  7518. 00004B14  3007                     move.w     D0, D7
  7519. 00004B16  5247                     addq.w     D7, 1
  7520. 00004B18  0C47 000A                cmpi.w     D7, 0xA /* '\n' */
  7521. 00004B1C  6FE6                     ble        -0x18 /* 00004B04 */
  7522. label00004B1E:
  7523. 00004B1E  3007                     move.w     D0, D7
  7524. 00004B20  5940                     subq.w     D0, 4
  7525. 00004B22  3B40 D338                move.w     [A5 - 0x2CC8], D0
  7526. 00004B26  2F0C                     move.l     -[A7], A4
  7527. 00004B28  A983                     syscall    DisposeDialog
  7528. 00004B2A  7001                     moveq.l    D0, 0x01
  7529. label00004B2C:
  7530. 00004B2C  4CEE 18F8 FED0           movem.l    D3,D4,D5,D6,D7,A3,A4, [A6 - 0x130]
  7531. 00004B32  4E5E                     unlink     A6
  7532. 00004B34  4E75                     rts
  7533. export_74:
  7534. 00004B36  4E56 0000                link       A6, 0
  7535. 00004B3A  48E7 0018                movem.l    -[A7], A3,A4
  7536. 00004B3E  266E 000C                movea.l    A3, [A6 + 0xC]
  7537. 00004B42  286E 0008                movea.l    A4, [A6 + 0x8]
  7538. 00004B46  2F0C                     move.l     -[A7], A4
  7539. 00004B48  2F0B                     move.l     -[A7], A3
  7540. 00004B4A  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  7541. 00004B4E  4EBA BBFE                jsr        [PC - 0x4402 /* 0000074E */]
  7542. 00004B52  4A00                     tst.b      D0
  7543. 00004B54  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7544. 00004B58  670A                     beq        +0xC /* 00004B64 */
  7545. 00004B5A  1D7C 0001 0014           move.b     [A6 + 0x14], 0x1
  7546. 00004B60  6000 00C2                bra        +0xC4 /* 00004C24 */
  7547. label00004B64:
  7548. 00004B64  7003                     moveq.l    D0, 0x03
  7549. 00004B66  B053                     cmp.w      D0, [A3]
  7550. 00004B68  6600 00B6                bne        +0xB8 /* 00004C20 */
  7551. 00004B6C  38BC FFFF                move.w     [A4], 0xFFFF
  7552. 00004B70  203C 0000 00FF           move.l     D0, 0xFF
  7553. 00004B76  C0AB 0002                and.l      D0, [A3 + 0x2]
  7554. 00004B7A  0480 0000 002E           subi.l     D0, 0x2E /* '.' */
  7555. 00004B80  675C                     beq        +0x5E /* 00004BDE */
  7556. 00004B82  0480 0000 0013           subi.l     D0, 0x13
  7557. 00004B88  6732                     beq        +0x34 /* 00004BBC */
  7558. 00004B8A  5580                     subq.l     D0, 2
  7559. 00004B8C  674A                     beq        +0x4C /* 00004BD8 */
  7560. 00004B8E  5780                     subq.l     D0, 3
  7561. 00004B90  672E                     beq        +0x30 /* 00004BC0 */
  7562. 00004B92  5380                     subq.l     D0, 1
  7563. 00004B94  6730                     beq        +0x32 /* 00004BC6 */
  7564. 00004B96  5D80                     subq.l     D0, 6
  7565. 00004B98  6732                     beq        +0x34 /* 00004BCC */
  7566. 00004B9A  5580                     subq.l     D0, 2
  7567. 00004B9C  6734                     beq        +0x36 /* 00004BD2 */
  7568. 00004B9E  0480 0000 0012           subi.l     D0, 0x12
  7569. 00004BA4  6716                     beq        +0x18 /* 00004BBC */
  7570. 00004BA6  5580                     subq.l     D0, 2
  7571. 00004BA8  672E                     beq        +0x30 /* 00004BD8 */
  7572. 00004BAA  5780                     subq.l     D0, 3
  7573. 00004BAC  6712                     beq        +0x14 /* 00004BC0 */
  7574. 00004BAE  5380                     subq.l     D0, 1
  7575. 00004BB0  6714                     beq        +0x16 /* 00004BC6 */
  7576. 00004BB2  5D80                     subq.l     D0, 6
  7577. 00004BB4  6716                     beq        +0x18 /* 00004BCC */
  7578. 00004BB6  5580                     subq.l     D0, 2
  7579. 00004BB8  6718                     beq        +0x1A /* 00004BD2 */
  7580. 00004BBA  6030                     bra        +0x32 /* 00004BEC */
  7581. label00004BBC:
  7582. 00004BBC  4254                     clr.w      [A4]
  7583. 00004BBE  602C                     bra        +0x2E /* 00004BEC */
  7584. label00004BC0:
  7585. 00004BC0  38BC 0001                move.w     [A4], 0x1
  7586. 00004BC4  6026                     bra        +0x28 /* 00004BEC */
  7587. label00004BC6:
  7588. 00004BC6  38BC 0003                move.w     [A4], 0x3
  7589. 00004BCA  6020                     bra        +0x22 /* 00004BEC */
  7590. label00004BCC:
  7591. 00004BCC  38BC 0004                move.w     [A4], 0x4
  7592. 00004BD0  601A                     bra        +0x1C /* 00004BEC */
  7593. label00004BD2:
  7594. 00004BD2  38BC 0005                move.w     [A4], 0x5
  7595. 00004BD6  6014                     bra        +0x16 /* 00004BEC */
  7596. label00004BD8:
  7597. 00004BD8  38BC 0006                move.w     [A4], 0x6
  7598. 00004BDC  600E                     bra        +0x10 /* 00004BEC */
  7599. label00004BDE:
  7600. 00004BDE  303C 0100                move.w     D0, 0x100
  7601. 00004BE2  C06B 000E                and.w      D0, [A3 + 0xE]
  7602. 00004BE6  6704                     beq        +0x6 /* 00004BEC */
  7603. 00004BE8  38BC FFFE                move.w     [A4], 0xFFFE
  7604. label00004BEC:
  7605. 00004BEC  70FF                     moveq.l    D0, 0xFFFFFFFF
  7606. 00004BEE  B054                     cmp.w      D0, [A4]
  7607. 00004BF0  672E                     beq        +0x30 /* 00004C20 */
  7608. 00004BF2  3014                     move.w     D0, [A4]
  7609. 00004BF4  41ED D8A8                lea.l      A0, [A5 - 0x2758]
  7610. 00004BF8  4A30 0000                tst.b      [A0 + D0.w]
  7611. 00004BFC  6722                     beq        +0x24 /* 00004C20 */
  7612. 00004BFE  5854                     addq.w     [A4], 4
  7613. 00004C00  3014                     move.w     D0, [A4]
  7614. 00004C02  48C0                     ext.l      D0
  7615. 00004C04  2F00                     move.l     -[A7], D0
  7616. 00004C06  2F2E 0010                move.l     -[A7], [A6 + 0x10]
  7617. 00004C0A  4EBA BCBE                jsr        [PC - 0x4342 /* 000008CA */]
  7618. 00004C0E  508F                     addq.l     A7, 8
  7619. 00004C10  2F00                     move.l     -[A7], D0
  7620. 00004C12  4EBA F424                jsr        [PC - 0xBDC /* 00004038 */]
  7621. 00004C16  1D7C 0001 0014           move.b     [A6 + 0x14], 0x1
  7622. 00004C1C  584F                     addq.w     A7, 4
  7623. 00004C1E  6004                     bra        +0x6 /* 00004C24 */
  7624. label00004C20:
  7625. 00004C20  422E 0014                clr.b      [A6 + 0x14]
  7626. label00004C24:
  7627. 00004C24  4CEE 1800 FFF8           movem.l    A3,A4, [A6 - 0x8]
  7628. 00004C2A  4E5E                     unlink     A6
  7629. 00004C2C  205F                     movea.l    A0, [A7]+
  7630. 00004C2E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7631. 00004C32  4ED0                     jmp        [A0]
  7632. fn00004C34:
  7633. 00004C34  4E56 0000                link       A6, 0
  7634. 00004C38  2F0C                     move.l     -[A7], A4
  7635. 00004C3A  4A2D DB94                tst.b      [A5 - 0x246C]
  7636. 00004C3E  6610                     bne        +0x12 /* 00004C50 */
  7637. 00004C40  206D DCA2                movea.l    A0, [A5 - 0x235E]
  7638. 00004C44  2050                     movea.l    A0, [A0]
  7639. 00004C46  4228 0010                clr.b      [A0 + 0x10]
  7640. 00004C4A  286D DCB2                movea.l    A4, [A5 - 0x234E]
  7641. 00004C4E  600E                     bra        +0x10 /* 00004C5E */
  7642. label00004C50:
  7643. 00004C50  206D DCB2                movea.l    A0, [A5 - 0x234E]
  7644. 00004C54  2050                     movea.l    A0, [A0]
  7645. 00004C56  4228 0010                clr.b      [A0 + 0x10]
  7646. 00004C5A  286D DCA2                movea.l    A4, [A5 - 0x235E]
  7647. label00004C5E:
  7648. 00004C5E  2F0C                     move.l     -[A7], A4
  7649. 00004C60  A957                     syscall    ShowControl
  7650. 00004C62  4EAD 0432                jsr        [A5 + 0x432 /* export_130 */]
  7651. 00004C66  286E FFFC                movea.l    A4, [A6 - 0x4]
  7652. 00004C6A  4E5E                     unlink     A6
  7653. 00004C6C  4E75                     rts
  7654. fn00004C6E:
  7655. 00004C6E  4E56 0000                link       A6, 0
  7656. 00004C72  2F0C                     move.l     -[A7], A4
  7657. 00004C74  4EAD 059A                jsr        [A5 + 0x59A /* export_175 */]
  7658. 00004C78  4EAD 05BA                jsr        [A5 + 0x5BA /* export_179 */]
  7659. 00004C7C  4EAD 0592                jsr        [A5 + 0x592 /* export_174 */]
  7660. 00004C80  4EBA C47A                jsr        [PC - 0x3B86 /* 000010FC */]
  7661. label00004C84:
  7662. 00004C84  598F                     subq.l     A7, 4
  7663. 00004C86  A924                     syscall    FrontWindow
  7664. 00004C88  285F                     movea.l    A4, [A7]+
  7665. 00004C8A  200C                     move.l     D0, A4
  7666. 00004C8C  6708                     beq        +0xA /* 00004C96 */
  7667. 00004C8E  2F0C                     move.l     -[A7], A4
  7668. 00004C90  4EBA ED62                jsr        [PC - 0x129E /* 000039F4 */]
  7669. 00004C94  584F                     addq.w     A7, 4
  7670. label00004C96:
  7671. 00004C96  200C                     move.l     D0, A4
  7672. 00004C98  66EA                     bne        -0x14 /* 00004C84 */
  7673. 00004C9A  4EAD 04B2                jsr        [A5 + 0x4B2 /* export_146 */]
  7674. 00004C9E  4EBA E0D4                jsr        [PC - 0x1F2C /* 00002D74 */]
  7675. 00004CA2  3B7C 0001 FDA6           move.w     [A5 - 0x25A], 0x1
  7676. 00004CA8  286E FFFC                movea.l    A4, [A6 - 0x4]
  7677. 00004CAC  4E5E                     unlink     A6
  7678. 00004CAE  4E75                     rts
  7679. fn00004CB0:
  7680. 00004CB0  4E56 0000                link       A6, 0
  7681. 00004CB4  4E5E                     unlink     A6
  7682. 00004CB6  4E75                     rts
  7683. export_75:
  7684. fn00004CB8:
  7685. 00004CB8  4E56 0000                link       A6, 0
  7686. 00004CBC  2F07                     move.l     -[A7], D7
  7687. 00004CBE  558F                     subq.l     A7, 2
  7688. 00004CC0  2F3C 6165 7674           move.l     -[A7], 0x61657674 /* 'aevt' */
  7689. 00004CC6  2F3C 6F61 7070           move.l     -[A7], 0x6F617070 /* 'oapp' */
  7690. 00004CCC  486D 028A                pea.l      [A5 + 0x28A /* export_77 */]
  7691. 00004CD0  7000                     moveq.l    D0, 0x00
  7692. 00004CD2  2F00                     move.l     -[A7], D0
  7693. 00004CD4  7200                     moveq.l    D1, 0x00
  7694. 00004CD6  1F01                     move.b     -[A7], D1
  7695. 00004CD8  303C 091F                move.w     D0, 0x91F
  7696. 00004CDC  A816                     syscall    Pack8
  7697. 00004CDE  3E1F                     move.w     D7, [A7]+
  7698. 00004CE0  670A                     beq        +0xC /* 00004CEC */
  7699. 00004CE2  48C7                     ext.l      D7
  7700. 00004CE4  2F07                     move.l     -[A7], D7
  7701. 00004CE6  4EBA FFC8                jsr        [PC - 0x38 /* 00004CB0 */]
  7702. 00004CEA  584F                     addq.w     A7, 4
  7703. label00004CEC:
  7704. 00004CEC  558F                     subq.l     A7, 2
  7705. 00004CEE  2F3C 6165 7674           move.l     -[A7], 0x61657674 /* 'aevt' */
  7706. 00004CF4  2F3C 6F64 6F63           move.l     -[A7], 0x6F646F63 /* 'odoc' */
  7707. 00004CFA  486D 0292                pea.l      [A5 + 0x292 /* export_78 */]
  7708. 00004CFE  7000                     moveq.l    D0, 0x00
  7709. 00004D00  2F00                     move.l     -[A7], D0
  7710. 00004D02  7200                     moveq.l    D1, 0x00
  7711. 00004D04  1F01                     move.b     -[A7], D1
  7712. 00004D06  303C 091F                move.w     D0, 0x91F
  7713. 00004D0A  A816                     syscall    Pack8
  7714. 00004D0C  3E1F                     move.w     D7, [A7]+
  7715. 00004D0E  670A                     beq        +0xC /* 00004D1A */
  7716. 00004D10  48C7                     ext.l      D7
  7717. 00004D12  2F07                     move.l     -[A7], D7
  7718. 00004D14  4EBA FF9A                jsr        [PC - 0x66 /* 00004CB0 */]
  7719. 00004D18  584F                     addq.w     A7, 4
  7720. label00004D1A:
  7721. 00004D1A  558F                     subq.l     A7, 2
  7722. 00004D1C  2F3C 6165 7674           move.l     -[A7], 0x61657674 /* 'aevt' */
  7723. 00004D22  2F3C 7064 6F63           move.l     -[A7], 0x70646F63 /* 'pdoc' */
  7724. 00004D28  486D 029A                pea.l      [A5 + 0x29A /* export_79 */]
  7725. 00004D2C  7000                     moveq.l    D0, 0x00
  7726. 00004D2E  2F00                     move.l     -[A7], D0
  7727. 00004D30  7200                     moveq.l    D1, 0x00
  7728. 00004D32  1F01                     move.b     -[A7], D1
  7729. 00004D34  303C 091F                move.w     D0, 0x91F
  7730. 00004D38  A816                     syscall    Pack8
  7731. 00004D3A  3E1F                     move.w     D7, [A7]+
  7732. 00004D3C  670A                     beq        +0xC /* 00004D48 */
  7733. 00004D3E  48C7                     ext.l      D7
  7734. 00004D40  2F07                     move.l     -[A7], D7
  7735. 00004D42  4EBA FF6C                jsr        [PC - 0x94 /* 00004CB0 */]
  7736. 00004D46  584F                     addq.w     A7, 4
  7737. label00004D48:
  7738. 00004D48  558F                     subq.l     A7, 2
  7739. 00004D4A  2F3C 6165 7674           move.l     -[A7], 0x61657674 /* 'aevt' */
  7740. 00004D50  2F3C 7175 6974           move.l     -[A7], 0x71756974 /* 'quit' */
  7741. 00004D56  486D 02A2                pea.l      [A5 + 0x2A2 /* export_80 */]
  7742. 00004D5A  7000                     moveq.l    D0, 0x00
  7743. 00004D5C  2F00                     move.l     -[A7], D0
  7744. 00004D5E  7200                     moveq.l    D1, 0x00
  7745. 00004D60  1F01                     move.b     -[A7], D1
  7746. 00004D62  303C 091F                move.w     D0, 0x91F
  7747. 00004D66  A816                     syscall    Pack8
  7748. 00004D68  3E1F                     move.w     D7, [A7]+
  7749. 00004D6A  670A                     beq        +0xC /* 00004D76 */
  7750. 00004D6C  48C7                     ext.l      D7
  7751. 00004D6E  2F07                     move.l     -[A7], D7
  7752. 00004D70  4EBA FF3E                jsr        [PC - 0xC2 /* 00004CB0 */]
  7753. 00004D74  584F                     addq.w     A7, 4
  7754. label00004D76:
  7755. 00004D76  558F                     subq.l     A7, 2
  7756. 00004D78  2F3C 616C 6973           move.l     -[A7], 0x616C6973 /* 'alis' */
  7757. 00004D7E  2F3C 6673 7320           move.l     -[A7], 0x66737320 /* 'fss ' */
  7758. 00004D84  486D 0282                pea.l      [A5 + 0x282 /* export_76 */]
  7759. 00004D88  7000                     moveq.l    D0, 0x00
  7760. 00004D8A  2F00                     move.l     -[A7], D0
  7761. 00004D8C  7201                     moveq.l    D1, 0x01
  7762. 00004D8E  1F01                     move.b     -[A7], D1
  7763. 00004D90  7000                     moveq.l    D0, 0x00
  7764. 00004D92  1F00                     move.b     -[A7], D0
  7765. 00004D94  303C 0A22                move.w     D0, 0xA22 /* '\n\"' */
  7766. 00004D98  A816                     syscall    Pack8
  7767. 00004D9A  3E1F                     move.w     D7, [A7]+
  7768. 00004D9C  670A                     beq        +0xC /* 00004DA8 */
  7769. 00004D9E  48C7                     ext.l      D7
  7770. 00004DA0  2F07                     move.l     -[A7], D7
  7771. 00004DA2  4EBA FF0C                jsr        [PC - 0xF4 /* 00004CB0 */]
  7772. 00004DA6  584F                     addq.w     A7, 4
  7773. label00004DA8:
  7774. 00004DA8  2E2E FFFC                move.l     D7, [A6 - 0x4]
  7775. 00004DAC  4E5E                     unlink     A6
  7776. 00004DAE  4E75                     rts
  7777. export_76:
  7778. 00004DB0  4E56 FFB0                link       A6, -0x0050
  7779. 00004DB4  2F07                     move.l     -[A7], D7
  7780. 00004DB6  206E 0014                movea.l    A0, [A6 + 0x14]
  7781. 00004DBA  43EE FFF8                lea.l      A1, [A6 - 0x8]
  7782. 00004DBE  22D8                     move.l     [A1]+, [A0]+
  7783. 00004DC0  22D8                     move.l     [A1]+, [A0]+
  7784. 00004DC2  558F                     subq.l     A7, 2
  7785. 00004DC4  7000                     moveq.l    D0, 0x00
  7786. 00004DC6  2F00                     move.l     -[A7], D0
  7787. 00004DC8  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  7788. 00004DCC  486E FFB0                pea.l      [A6 - 0x50]
  7789. 00004DD0  486E FFF7                pea.l      [A6 - 0x9]
  7790. 00004DD4  7003                     moveq.l    D0, 0x03
  7791. 00004DD6  A823                     syscall    AliasDispatch
  7792. 00004DD8  3E1F                     move.w     D7, [A7]+
  7793. 00004DDA  661C                     bne        +0x1E /* 00004DF8 */
  7794. 00004DDC  558F                     subq.l     A7, 2
  7795. 00004DDE  2F3C 6673 7320           move.l     -[A7], 0x66737320 /* 'fss ' */
  7796. 00004DE4  486E FFB0                pea.l      [A6 - 0x50]
  7797. 00004DE8  7046                     moveq.l    D0, 0x46
  7798. 00004DEA  2F00                     move.l     -[A7], D0
  7799. 00004DEC  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  7800. 00004DF0  303C 0825                move.w     D0, 0x825
  7801. 00004DF4  A816                     syscall    Pack8
  7802. 00004DF6  3E1F                     move.w     D7, [A7]+
  7803. label00004DF8:
  7804. 00004DF8  3D47 0018                move.w     [A6 + 0x18], D7
  7805. 00004DFC  2E2E FFAC                move.l     D7, [A6 - 0x54]
  7806. 00004E00  4E5E                     unlink     A6
  7807. 00004E02  205F                     movea.l    A0, [A7]+
  7808. 00004E04  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7809. 00004E08  4ED0                     jmp        [A0]
  7810. fn00004E0A:
  7811. 00004E0A  4E56 0000                link       A6, 0
  7812. 00004E0E  2F07                     move.l     -[A7], D7
  7813. 00004E10  4A6D FDA4                tst.w      [A5 - 0x25C]
  7814. 00004E14  671A                     beq        +0x1C /* 00004E30 */
  7815. 00004E16  558F                     subq.l     A7, 2
  7816. 00004E18  486E 0008                pea.l      [A6 + 0x8]
  7817. 00004E1C  303C 021B                move.w     D0, 0x21B
  7818. 00004E20  A816                     syscall    Pack8
  7819. 00004E22  3E1F                     move.w     D7, [A7]+
  7820. 00004E24  670A                     beq        +0xC /* 00004E30 */
  7821. 00004E26  48C7                     ext.l      D7
  7822. 00004E28  2F07                     move.l     -[A7], D7
  7823. 00004E2A  4EBA FE84                jsr        [PC - 0x17C /* 00004CB0 */]
  7824. 00004E2E  584F                     addq.w     A7, 4
  7825. label00004E30:
  7826. 00004E30  2E2E FFFC                move.l     D7, [A6 - 0x4]
  7827. 00004E34  4E5E                     unlink     A6
  7828. 00004E36  4E75                     rts
  7829. fn00004E38:
  7830. 00004E38  4E56 FFF8                link       A6, -0x0008
  7831. 00004E3C  2F07                     move.l     -[A7], D7
  7832. 00004E3E  558F                     subq.l     A7, 2
  7833. 00004E40  486E 0008                pea.l      [A6 + 0x8]
  7834. 00004E44  2F3C 6D69 7373           move.l     -[A7], 0x6D697373 /* 'miss' */
  7835. 00004E4A  2F3C 2A2A 2A2A           move.l     -[A7], 0x2A2A2A2A /* '****' */
  7836. 00004E50  486E FFF8                pea.l      [A6 - 0x8]
  7837. 00004E54  7000                     moveq.l    D0, 0x00
  7838. 00004E56  2F00                     move.l     -[A7], D0
  7839. 00004E58  2F00                     move.l     -[A7], D0
  7840. 00004E5A  486E FFFC                pea.l      [A6 - 0x4]
  7841. 00004E5E  303C 0E15                move.w     D0, 0xE15
  7842. 00004E62  A816                     syscall    Pack8
  7843. 00004E64  3E1F                     move.w     D7, [A7]+
  7844. 00004E66  0C47 F95B                cmpi.w     D7, 0xF95B
  7845. 00004E6A  6604                     bne        +0x6 /* 00004E70 */
  7846. 00004E6C  7000                     moveq.l    D0, 0x00
  7847. 00004E6E  600C                     bra        +0xE /* 00004E7C */
  7848. label00004E70:
  7849. 00004E70  4A47                     tst.w      D7
  7850. 00004E72  6606                     bne        +0x8 /* 00004E7A */
  7851. 00004E74  303C F954                move.w     D0, 0xF954
  7852. 00004E78  6002                     bra        +0x4 /* 00004E7C */
  7853. label00004E7A:
  7854. 00004E7A  3007                     move.w     D0, D7
  7855. label00004E7C:
  7856. 00004E7C  2E2E FFF4                move.l     D7, [A6 - 0xC]
  7857. 00004E80  4E5E                     unlink     A6
  7858. 00004E82  4E75                     rts
  7859. export_77:
  7860. 00004E84  4E56 FFF0                link       A6, -0x0010
  7861. 00004E88  2F07                     move.l     -[A7], D7
  7862. 00004E8A  206E 0010                movea.l    A0, [A6 + 0x10]
  7863. 00004E8E  43EE FFF0                lea.l      A1, [A6 - 0x10]
  7864. 00004E92  22D8                     move.l     [A1]+, [A0]+
  7865. 00004E94  22D8                     move.l     [A1]+, [A0]+
  7866. 00004E96  206E 000C                movea.l    A0, [A6 + 0xC]
  7867. 00004E9A  43EE FFF8                lea.l      A1, [A6 - 0x8]
  7868. 00004E9E  22D8                     move.l     [A1]+, [A0]+
  7869. 00004EA0  22D8                     move.l     [A1]+, [A0]+
  7870. 00004EA2  41EE FFF8                lea.l      A0, [A6 - 0x8]
  7871. 00004EA6  2F20                     move.l     -[A7], -[A0]
  7872. 00004EA8  2F20                     move.l     -[A7], -[A0]
  7873. 00004EAA  4EBA FF8C                jsr        [PC - 0x74 /* 00004E38 */]
  7874. 00004EAE  3E00                     move.w     D7, D0
  7875. 00004EB0  6706                     beq        +0x8 /* 00004EB8 */
  7876. 00004EB2  3D47 0014                move.w     [A6 + 0x14], D7
  7877. 00004EB6  6004                     bra        +0x6 /* 00004EBC */
  7878. label00004EB8:
  7879. 00004EB8  426E 0014                clr.w      [A6 + 0x14]
  7880. label00004EBC:
  7881. 00004EBC  2E2E FFEC                move.l     D7, [A6 - 0x14]
  7882. 00004EC0  4E5E                     unlink     A6
  7883. 00004EC2  205F                     movea.l    A0, [A7]+
  7884. 00004EC4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7885. 00004EC8  4ED0                     jmp        [A0]
  7886. export_78:
  7887. 00004ECA  4E56 FE82                link       A6, -0x017E
  7888. 00004ECE  48E7 0308                movem.l    -[A7], D6,D7,A4
  7889. 00004ED2  49EE FEF0                lea.l      A4, [A6 - 0x110]
  7890. 00004ED6  206E 0010                movea.l    A0, [A6 + 0x10]
  7891. 00004EDA  43EE FFF0                lea.l      A1, [A6 - 0x10]
  7892. 00004EDE  22D8                     move.l     [A1]+, [A0]+
  7893. 00004EE0  22D8                     move.l     [A1]+, [A0]+
  7894. 00004EE2  206E 000C                movea.l    A0, [A6 + 0xC]
  7895. 00004EE6  43EE FFF8                lea.l      A1, [A6 - 0x8]
  7896. 00004EEA  22D8                     move.l     [A1]+, [A0]+
  7897. 00004EEC  22D8                     move.l     [A1]+, [A0]+
  7898. 00004EEE  558F                     subq.l     A7, 2
  7899. 00004EF0  486E FFF0                pea.l      [A6 - 0x10]
  7900. 00004EF4  2F3C 2D2D 2D2D           move.l     -[A7], 0x2D2D2D2D /* '----' */
  7901. 00004EFA  2F3C 6C69 7374           move.l     -[A7], 0x6C697374 /* 'list' */
  7902. 00004F00  486E FEC8                pea.l      [A6 - 0x138]
  7903. 00004F04  303C 0812                move.w     D0, 0x812
  7904. 00004F08  A816                     syscall    Pack8
  7905. 00004F0A  3E1F                     move.w     D7, [A7]+
  7906. 00004F0C  670A                     beq        +0xC /* 00004F18 */
  7907. 00004F0E  48C7                     ext.l      D7
  7908. 00004F10  2F07                     move.l     -[A7], D7
  7909. 00004F12  4EBA FD9C                jsr        [PC - 0x264 /* 00004CB0 */]
  7910. 00004F16  584F                     addq.w     A7, 4
  7911. label00004F18:
  7912. 00004F18  41EE FFF8                lea.l      A0, [A6 - 0x8]
  7913. 00004F1C  2F20                     move.l     -[A7], -[A0]
  7914. 00004F1E  2F20                     move.l     -[A7], -[A0]
  7915. 00004F20  4EBA FF16                jsr        [PC - 0xEA /* 00004E38 */]
  7916. 00004F24  3E00                     move.w     D7, D0
  7917. 00004F26  504F                     addq.w     A7, 8
  7918. 00004F28  6708                     beq        +0xA /* 00004F32 */
  7919. 00004F2A  3D47 0014                move.w     [A6 + 0x14], D7
  7920. 00004F2E  6000 00DE                bra        +0xE0 /* 0000500E */
  7921. label00004F32:
  7922. 00004F32  558F                     subq.l     A7, 2
  7923. 00004F34  486E FEC8                pea.l      [A6 - 0x138]
  7924. 00004F38  486E FED0                pea.l      [A6 - 0x130]
  7925. 00004F3C  303C 0407                move.w     D0, 0x407
  7926. 00004F40  A816                     syscall    Pack8
  7927. 00004F42  3E1F                     move.w     D7, [A7]+
  7928. 00004F44  7C01                     moveq.l    D6, 0x01
  7929. 00004F46  6000 00AC                bra        +0xAE /* 00004FF4 */
  7930. label00004F4A:
  7931. 00004F4A  558F                     subq.l     A7, 2
  7932. 00004F4C  486E FEC8                pea.l      [A6 - 0x138]
  7933. 00004F50  2F06                     move.l     -[A7], D6
  7934. 00004F52  2F3C 6673 7320           move.l     -[A7], 0x66737320 /* 'fss ' */
  7935. 00004F58  486E FED8                pea.l      [A6 - 0x128]
  7936. 00004F5C  486E FEDC                pea.l      [A6 - 0x124]
  7937. 00004F60  486E FE82                pea.l      [A6 - 0x17E]
  7938. 00004F64  7046                     moveq.l    D0, 0x46
  7939. 00004F66  2F00                     move.l     -[A7], D0
  7940. 00004F68  486E FED4                pea.l      [A6 - 0x12C]
  7941. 00004F6C  303C 100A                move.w     D0, 0x100A
  7942. 00004F70  A816                     syscall    Pack8
  7943. 00004F72  3E1F                     move.w     D7, [A7]+
  7944. 00004F74  670A                     beq        +0xC /* 00004F80 */
  7945. 00004F76  48C7                     ext.l      D7
  7946. 00004F78  2F07                     move.l     -[A7], D7
  7947. 00004F7A  4EBA FD34                jsr        [PC - 0x2CC /* 00004CB0 */]
  7948. 00004F7E  584F                     addq.w     A7, 4
  7949. label00004F80:
  7950. 00004F80  558F                     subq.l     A7, 2
  7951. 00004F82  3F2E FE82                move.w     -[A7], [A6 - 0x17E]
  7952. 00004F86  2F2E FE84                move.l     -[A7], [A6 - 0x17C]
  7953. 00004F8A  486E FE88                pea.l      [A6 - 0x178]
  7954. 00004F8E  486E FEE0                pea.l      [A6 - 0x120]
  7955. 00004F92  4EBA 0B3A                jsr        [PC + 0xB3A /* 00005ACE */]
  7956. 00004F96  3E1F                     move.w     D7, [A7]+
  7957. 00004F98  0CAE 534D 4346 FEE0      cmpi.l     [A6 - 0x120], 0x534D4346 /* 'SMCF' */
  7958. 00004FA0  6618                     bne        +0x1A /* 00004FBA */
  7959. 00004FA2  41ED D71E                lea.l      A0, [A5 - 0x28E2]
  7960. 00004FA6  43EE FE82                lea.l      A1, [A6 - 0x17E]
  7961. 00004FAA  7010                     moveq.l    D0, 0x10
  7962. label00004FAC:
  7963. 00004FAC  20D9                     move.l     [A0]+, [A1]+
  7964. 00004FAE  51C8 FFFC                dbf        D0, -0x6 /* 00004FAC */
  7965. 00004FB2  30D9                     move.w     [A0]+, [A1]+
  7966. 00004FB4  4EBA BF1A                jsr        [PC - 0x40E6 /* 00000ED0 */]
  7967. 00004FB8  6042                     bra        +0x44 /* 00004FFC */
  7968. label00004FBA:
  7969. 00004FBA  0CAE 534D 4446 FEE0      cmpi.l     [A6 - 0x120], 0x534D4446 /* 'SMDF' */
  7970. 00004FC2  6738                     beq        +0x3A /* 00004FFC */
  7971. 00004FC4  558F                     subq.l     A7, 2
  7972. 00004FC6  2F3C 7FFF FFFF           move.l     -[A7], 0x7FFFFFFF
  7973. 00004FCC  7000                     moveq.l    D0, 0x00
  7974. 00004FCE  2F00                     move.l     -[A7], D0
  7975. 00004FD0  486D 026A                pea.l      [A5 + 0x26A /* export_73 */]
  7976. 00004FD4  303C 061C                move.w     D0, 0x61C
  7977. 00004FD8  A816                     syscall    Pack8
  7978. 00004FDA  3E1F                     move.w     D7, [A7]+
  7979. 00004FDC  2F0C                     move.l     -[A7], A4
  7980. 00004FDE  3F3C 0FA0                move.w     -[A7], 0xFA0
  7981. 00004FE2  7012                     moveq.l    D0, 0x12
  7982. 00004FE4  3F00                     move.w     -[A7], D0
  7983. 00004FE6  4EBA 0BF8                jsr        [PC + 0xBF8 /* 00005BE0 */]
  7984. 00004FEA  2F0C                     move.l     -[A7], A4
  7985. 00004FEC  4EBA BA4E                jsr        [PC - 0x45B2 /* 00000A3C */]
  7986. 00004FF0  584F                     addq.w     A7, 4
  7987. 00004FF2  6008                     bra        +0xA /* 00004FFC */
  7988. label00004FF4:
  7989. 00004FF4  BCAE FED0                cmp.l      D6, [A6 - 0x130]
  7990. 00004FF8  6F00 FF50                ble        -0xAE /* 00004F4A */
  7991. label00004FFC:
  7992. 00004FFC  558F                     subq.l     A7, 2
  7993. 00004FFE  486E FEC8                pea.l      [A6 - 0x138]
  7994. 00005002  303C 0204                move.w     D0, 0x204
  7995. 00005006  A816                     syscall    Pack8
  7996. 00005008  3E1F                     move.w     D7, [A7]+
  7997. 0000500A  3D47 0014                move.w     [A6 + 0x14], D7
  7998. label0000500E:
  7999. 0000500E  4CEE 10C0 FE76           movem.l    D6,D7,A4, [A6 - 0x18A]
  8000. 00005014  4E5E                     unlink     A6
  8001. 00005016  205F                     movea.l    A0, [A7]+
  8002. 00005018  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8003. 0000501C  4ED0                     jmp        [A0]
  8004. export_79:
  8005. 0000501E  4E56 FEE8                link       A6, -0x0118
  8006. 00005022  48E7 0108                movem.l    -[A7], D7,A4
  8007. 00005026  49EE FEF0                lea.l      A4, [A6 - 0x110]
  8008. 0000502A  206E 0010                movea.l    A0, [A6 + 0x10]
  8009. 0000502E  43EE FFF0                lea.l      A1, [A6 - 0x10]
  8010. 00005032  22D8                     move.l     [A1]+, [A0]+
  8011. 00005034  22D8                     move.l     [A1]+, [A0]+
  8012. 00005036  206E 000C                movea.l    A0, [A6 + 0xC]
  8013. 0000503A  43EE FFF8                lea.l      A1, [A6 - 0x8]
  8014. 0000503E  22D8                     move.l     [A1]+, [A0]+
  8015. 00005040  22D8                     move.l     [A1]+, [A0]+
  8016. 00005042  558F                     subq.l     A7, 2
  8017. 00005044  486E FFF0                pea.l      [A6 - 0x10]
  8018. 00005048  2F3C 2D2D 2D2D           move.l     -[A7], 0x2D2D2D2D /* '----' */
  8019. 0000504E  2F3C 6C69 7374           move.l     -[A7], 0x6C697374 /* 'list' */
  8020. 00005054  486E FEE8                pea.l      [A6 - 0x118]
  8021. 00005058  303C 0812                move.w     D0, 0x812
  8022. 0000505C  A816                     syscall    Pack8
  8023. 0000505E  3E1F                     move.w     D7, [A7]+
  8024. 00005060  670A                     beq        +0xC /* 0000506C */
  8025. 00005062  48C7                     ext.l      D7
  8026. 00005064  2F07                     move.l     -[A7], D7
  8027. 00005066  4EBA FC48                jsr        [PC - 0x3B8 /* 00004CB0 */]
  8028. 0000506A  584F                     addq.w     A7, 4
  8029. label0000506C:
  8030. 0000506C  41EE FFF8                lea.l      A0, [A6 - 0x8]
  8031. 00005070  2F20                     move.l     -[A7], -[A0]
  8032. 00005072  2F20                     move.l     -[A7], -[A0]
  8033. 00005074  4EBA FDC2                jsr        [PC - 0x23E /* 00004E38 */]
  8034. 00005078  3E00                     move.w     D7, D0
  8035. 0000507A  504F                     addq.w     A7, 8
  8036. 0000507C  6706                     beq        +0x8 /* 00005084 */
  8037. 0000507E  3D47 0014                move.w     [A6 + 0x14], D7
  8038. 00005082  6040                     bra        +0x42 /* 000050C4 */
  8039. label00005084:
  8040. 00005084  558F                     subq.l     A7, 2
  8041. 00005086  2F3C 7FFF FFFF           move.l     -[A7], 0x7FFFFFFF
  8042. 0000508C  7000                     moveq.l    D0, 0x00
  8043. 0000508E  2F00                     move.l     -[A7], D0
  8044. 00005090  486D 026A                pea.l      [A5 + 0x26A /* export_73 */]
  8045. 00005094  303C 061C                move.w     D0, 0x61C
  8046. 00005098  A816                     syscall    Pack8
  8047. 0000509A  3E1F                     move.w     D7, [A7]+
  8048. 0000509C  2F0C                     move.l     -[A7], A4
  8049. 0000509E  3F3C 0FA0                move.w     -[A7], 0xFA0
  8050. 000050A2  7008                     moveq.l    D0, 0x08
  8051. 000050A4  3F00                     move.w     -[A7], D0
  8052. 000050A6  4EBA 0B38                jsr        [PC + 0xB38 /* 00005BE0 */]
  8053. 000050AA  2F0C                     move.l     -[A7], A4
  8054. 000050AC  4EBA B98E                jsr        [PC - 0x4672 /* 00000A3C */]
  8055. 000050B0  558F                     subq.l     A7, 2
  8056. 000050B2  486E FEE8                pea.l      [A6 - 0x118]
  8057. 000050B6  303C 0204                move.w     D0, 0x204
  8058. 000050BA  A816                     syscall    Pack8
  8059. 000050BC  3E1F                     move.w     D7, [A7]+
  8060. 000050BE  426E 0014                clr.w      [A6 + 0x14]
  8061. 000050C2  584F                     addq.w     A7, 4
  8062. label000050C4:
  8063. 000050C4  4CEE 1080 FEE0           movem.l    D7,A4, [A6 - 0x120]
  8064. 000050CA  4E5E                     unlink     A6
  8065. 000050CC  205F                     movea.l    A0, [A7]+
  8066. 000050CE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8067. 000050D2  4ED0                     jmp        [A0]
  8068. export_80:
  8069. 000050D4  4E56 FFF0                link       A6, -0x0010
  8070. 000050D8  2F07                     move.l     -[A7], D7
  8071. 000050DA  206E 0010                movea.l    A0, [A6 + 0x10]
  8072. 000050DE  43EE FFF0                lea.l      A1, [A6 - 0x10]
  8073. 000050E2  22D8                     move.l     [A1]+, [A0]+
  8074. 000050E4  22D8                     move.l     [A1]+, [A0]+
  8075. 000050E6  206E 000C                movea.l    A0, [A6 + 0xC]
  8076. 000050EA  43EE FFF8                lea.l      A1, [A6 - 0x8]
  8077. 000050EE  22D8                     move.l     [A1]+, [A0]+
  8078. 000050F0  22D8                     move.l     [A1]+, [A0]+
  8079. 000050F2  41EE FFF8                lea.l      A0, [A6 - 0x8]
  8080. 000050F6  2F20                     move.l     -[A7], -[A0]
  8081. 000050F8  2F20                     move.l     -[A7], -[A0]
  8082. 000050FA  4EBA FD3C                jsr        [PC - 0x2C4 /* 00004E38 */]
  8083. 000050FE  3E00                     move.w     D7, D0
  8084. 00005100  504F                     addq.w     A7, 8
  8085. 00005102  6706                     beq        +0x8 /* 0000510A */
  8086. 00005104  3D47 0014                move.w     [A6 + 0x14], D7
  8087. 00005108  604C                     bra        +0x4E /* 00005156 */
  8088. label0000510A:
  8089. 0000510A  4EAD 05BA                jsr        [A5 + 0x5BA /* export_179 */]
  8090. 0000510E  4EAD 059A                jsr        [A5 + 0x59A /* export_175 */]
  8091. 00005112  7064                     moveq.l    D0, 0x64
  8092. 00005114  2F00                     move.l     -[A7], D0
  8093. 00005116  4EBA E33C                jsr        [PC - 0x1CC4 /* 00003454 */]
  8094. 0000511A  3E00                     move.w     D7, D0
  8095. 0000511C  0C47 0004                cmpi.w     D7, 0x4
  8096. 00005120  584F                     addq.w     A7, 4
  8097. 00005122  670C                     beq        +0xE /* 00005130 */
  8098. 00005124  0C47 0006                cmpi.w     D7, 0x6
  8099. 00005128  6706                     beq        +0x8 /* 00005130 */
  8100. 0000512A  0C47 0005                cmpi.w     D7, 0x5
  8101. 0000512E  661E                     bne        +0x20 /* 0000514E */
  8102. label00005130:
  8103. 00005130  4EAD 06C2                jsr        [A5 + 0x6C2 /* export_212 */]
  8104. 00005134  4A00                     tst.b      D0
  8105. 00005136  660C                     bne        +0xE /* 00005144 */
  8106. 00005138  486D 06C2                pea.l      [A5 + 0x6C2 /* export_212 */]
  8107. 0000513C  A9F1                     syscall    UnloadSeg
  8108. 0000513E  426E 0014                clr.w      [A6 + 0x14]
  8109. 00005142  6012                     bra        +0x14 /* 00005156 */
  8110. label00005144:
  8111. 00005144  7001                     moveq.l    D0, 0x01
  8112. 00005146  2F00                     move.l     -[A7], D0
  8113. 00005148  4EAD 06BA                jsr        [A5 + 0x6BA /* export_211 */]
  8114. 0000514C  584F                     addq.w     A7, 4
  8115. label0000514E:
  8116. 0000514E  4EBA FB1E                jsr        [PC - 0x4E2 /* 00004C6E */]
  8117. 00005152  426E 0014                clr.w      [A6 + 0x14]
  8118. label00005156:
  8119. 00005156  2E2E FFEC                move.l     D7, [A6 - 0x14]
  8120. 0000515A  4E5E                     unlink     A6
  8121. 0000515C  205F                     movea.l    A0, [A7]+
  8122. 0000515E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8123. 00005162  4ED0                     jmp        [A0]
  8124. export_0:
  8125. 00005164  2057                     movea.l    A0, [A7]
  8126. 00005166  42A7                     clr.l      -[A7]
  8127. 00005168  486D FDB0                pea.l      [A5 - 0x250]
  8128. 0000516C  486D FDAC                pea.l      [A5 - 0x254]
  8129. 00005170  486D FDA8                pea.l      [A5 - 0x258]
  8130. 00005174  2F08                     move.l     -[A7], A0
  8131. 00005176  4EBA 0190                jsr        [PC + 0x190 /* 00005308 */]
  8132. 0000517A  72FF                     moveq.l    D1, 0xFFFFFFFF
  8133. 0000517C  B041                     cmp.w      D0, D1
  8134. 0000517E  672E                     beq        +0x30 /* 000051AE */
  8135. 00005180  588F                     addq.l     A7, 4
  8136. 00005182  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8137. 00005186  486D FFD0                pea.l      [A5 - 0x30]
  8138. 0000518A  4EBA 04B4                jsr        [PC + 0x4B4 /* 00005640 */]
  8139. 0000518E  584F                     addq.w     A7, 4
  8140. 00005190  4A80                     tst.l      D0
  8141. 00005192  6624                     bne        +0x26 /* 000051B8 */
  8142. 00005194  2F2D FDB0                move.l     -[A7], [A5 - 0x250]
  8143. 00005198  2F2D FDAC                move.l     -[A7], [A5 - 0x254]
  8144. 0000519C  2F2D FDA8                move.l     -[A7], [A5 - 0x258]
  8145. 000051A0  4EBA E5CC                jsr        [PC - 0x1A34 /* 0000376E */]
  8146. 000051A4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8147. 000051A8  2F00                     move.l     -[A7], D0
  8148. 000051AA  4EBA 0354                jsr        [PC + 0x354 /* 00005500 */]
  8149. label000051AE:
  8150. 000051AE  487A 000A                pea.l      [PC + 0xA /* 000051BA, value 0x1B446174, pstring "Data initialization failed!" */]
  8151. 000051B2  303C FE15                move.w     D0, 0xFE15
  8152. 000051B6  A9C9                     syscall    SysError
  8153. label000051B8:
  8154. 000051B8  4E75                     rts
  8155. 000051BA  1B44 6174                move.b     [A5 + 0x6174], D4
  8156. 000051BE  6120                     bsr        +0x22 /* 000051E0 */
  8157. 000051C0  696E                     bvs        +0x70 /* 00005230 */
  8158. 000051C2  6974                     bvs        +0x76 /* 00005238 */
  8159. 000051C4  6961                     bvs        +0x63 /* 00005227 */
  8160. 000051C6  6C69                     bge        +0x6B /* 00005231 */
  8161. 000051C8  7A61                     moveq.l    D5, 0x61
  8162. 000051CA  7469                     moveq.l    D2, 0x69
  8163. 000051CC  6F6E                     ble        +0x70 /* 0000523C */
  8164. 000051CE  2066                     movea.l    A0, -[A6]
  8165. 000051D0  6169                     bsr        +0x6B /* 0000523B */
  8166. 000051D2  6C65                     bge        +0x67 /* 00005239 */
  8167. 000051D4  6421                     bcc        +0x23 /* 000051F7 */
  8168. fn000051D6:
  8169. 000051D6  4E56 FFFC                link       A6, -0x0004
  8170. 000051DA  48E7 0318                movem.l    -[A7], D6,D7,A3,A4
  8171. 000051DE  4AAD FED6                tst.l      [A5 - 0x12A]
  8172. // begin alternate branch 000051E0-000051EE
  8173. fn000051E0:
  8174. 000051E0  FED6 6600                .extension 0xED6 <<F/2-3/7>> // unimplemented
  8175. 000051E4  008C 598F 2F3C           ori.l      A4, 0x598F2F3C
  8176. 000051EA  434F                     chk.w      D1, A7
  8177. 000051EC  4445                     neg.w      D5
  8178. // end alternate branch 000051E0-000051EE
  8179. fn000051E0: // (misaligned)
  8180. 000051E2  6600 008C                bne        +0x8E /* 00005270 */
  8181. 000051E6  598F                     subq.l     A7, 4
  8182. 000051E8  2F3C 434F 4445           move.l     -[A7], 0x434F4445 /* 'CODE' */
  8183. 000051EE  486D FE82                pea.l      [A5 - 0x17E]
  8184. 000051F2  A820                     syscall    Get1NamedResource
  8185. 000051F4  265F                     movea.l    A3, [A7]+
  8186. 000051F6  200B                     move.l     D0, A3
  8187. 000051F8  6776                     beq        +0x78 /* 00005270 */
  8188. 000051FA  558F                     subq.l     A7, 2
  8189. 000051FC  A994                     syscall    CurResFile
  8190. 000051FE  558F                     subq.l     A7, 2
  8191. 00005200  2F0B                     move.l     -[A7], A3
  8192. 00005202  A9A4                     syscall    HomeResFile
  8193. 00005204  301F                     move.w     D0, [A7]+
  8194. 00005206  B05F                     cmp.w      D0, [A7]+
  8195. 00005208  6666                     bne        +0x68 /* 00005270 */
  8196. 0000520A  41ED 02AA                lea.l      A0, [A5 + 0x2AA /* export_81 */]
  8197. 0000520E  226D FEF4                movea.l    A1, [A5 - 0x10C]
  8198. 00005212  2348 000C                move.l     [A1 + 0xC], A0
  8199. 00005216  2D4B FFFC                move.l     [A6 - 0x4], A3
  8200. 0000521A  598F                     subq.l     A7, 4
  8201. 0000521C  2F0B                     move.l     -[A7], A3
  8202. 0000521E  4EBA 0448                jsr        [PC + 0x448 /* 00005668 */]
  8203. 00005222  201F                     move.l     D0, [A7]+
  8204. 00005224  5980                     subq.l     D0, 4
  8205. 00005226  7204                     moveq.l    D1, 0x04
  8206. 00005228  4EBA 0388                jsr        [PC + 0x388 /* 000055B2 */]
  8207. 0000522C  2C00                     move.l     D6, D0
  8208. 0000522E  7000                     moveq.l    D0, 0x00
  8209. label00005230:
  8210. 00005230  2840                     movea.l    A4, D0
  8211. 00005232  602A                     bra        +0x2C /* 0000525E */
  8212. label00005234:
  8213. 00005234  2F0B                     move.l     -[A7], A3
  8214. 00005236  A9A2                     syscall    LoadResource
  8215. label00005238:
  8216. 00005238  206E FFFC                movea.l    A0, [A6 - 0x4]
  8217. label0000523C:
  8218. 0000523C  2050                     movea.l    A0, [A0]
  8219. 0000523E  202D FED6                move.l     D0, [A5 - 0x12A]
  8220. 00005242  E580                     asl        D0, 2
  8221. 00005244  3030 0804                move.w     D0, [A0 + D0 + 0x4]
  8222. 00005248  48C0                     ext.l      D0
  8223. 0000524A  2E00                     move.l     D7, D0
  8224. 0000524C  6708                     beq        +0xA /* 00005256 */
  8225. 0000524E  200D                     move.l     D0, A5
  8226. 00005250  2840                     movea.l    A4, D0
  8227. 00005252  D9C7                     add.l      A4, D7
  8228. 00005254  4E94                     jsr        [A4]
  8229. label00005256:
  8230. 00005256  202D FED6                move.l     D0, [A5 - 0x12A]
  8231. 0000525A  52AD FED6                addq.l     [A5 - 0x12A], 1
  8232. label0000525E:
  8233. 0000525E  BCAD FED6                cmp.l      D6, [A5 - 0x12A]
  8234. 00005262  6ED0                     bgt        -0x2E /* 00005234 */
  8235. 00005264  200C                     move.l     D0, A4
  8236. 00005266  6704                     beq        +0x6 /* 0000526C */
  8237. 00005268  2F0C                     move.l     -[A7], A4
  8238. 0000526A  A9F1                     syscall    UnloadSeg
  8239. label0000526C:
  8240. 0000526C  2F0B                     move.l     -[A7], A3
  8241. 0000526E  A9A3                     syscall    ReleaseResource
  8242. label00005270:
  8243. 00005270  4CEE 18C0 FFEC           movem.l    D6,D7,A3,A4, [A6 - 0x14]
  8244. 00005276  4E5E                     unlink     A6
  8245. 00005278  4E75                     rts
  8246. 0000527A  8B5F                     or.w       [A7]+, D5
  8247. 0000527C  5F43                     subq.w     D3, 7
  8248. 0000527E  706C                     moveq.l    D0, 0x6C
  8249. 00005280  7573                     moveq.l    D2, 0x73
  8250. 00005282  496E 6974                chk.w      D4, [A6 + 0x6974]
  8251. 00005286  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  8252. export_81: // at 00005288 (misaligned)
  8253. 0000528A  FFFC                     .invalid   <<F/7/7>>
  8254. 0000528C  48E7 0118                movem.l    -[A7], D7,A3,A4
  8255. 00005290  4AAD FED6                tst.l      [A5 - 0x12A]
  8256. 00005294  675C                     beq        +0x5E /* 000052F2 */
  8257. 00005296  598F                     subq.l     A7, 4
  8258. 00005298  2F3C 434F 4445           move.l     -[A7], 0x434F4445 /* 'CODE' */
  8259. 0000529E  486D FEAC                pea.l      [A5 - 0x154]
  8260. 000052A2  A9A1                     syscall    GetNamedResource
  8261. 000052A4  265F                     movea.l    A3, [A7]+
  8262. 000052A6  200B                     move.l     D0, A3
  8263. 000052A8  6748                     beq        +0x4A /* 000052F2 */
  8264. 000052AA  558F                     subq.l     A7, 2
  8265. 000052AC  A994                     syscall    CurResFile
  8266. 000052AE  558F                     subq.l     A7, 2
  8267. 000052B0  2F0B                     move.l     -[A7], A3
  8268. 000052B2  A9A4                     syscall    HomeResFile
  8269. 000052B4  301F                     move.w     D0, [A7]+
  8270. 000052B6  B05F                     cmp.w      D0, [A7]+
  8271. 000052B8  6638                     bne        +0x3A /* 000052F2 */
  8272. 000052BA  2D4B FFFC                move.l     [A6 - 0x4], A3
  8273. 000052BE  6028                     bra        +0x2A /* 000052E8 */
  8274. label000052C0:
  8275. 000052C0  2F0B                     move.l     -[A7], A3
  8276. 000052C2  A9A2                     syscall    LoadResource
  8277. 000052C4  53AD FED6                subq.l     [A5 - 0x12A], 1
  8278. 000052C8  206E FFFC                movea.l    A0, [A6 - 0x4]
  8279. 000052CC  2050                     movea.l    A0, [A0]
  8280. 000052CE  202D FED6                move.l     D0, [A5 - 0x12A]
  8281. 000052D2  E580                     asl        D0, 2
  8282. 000052D4  3030 0806                move.w     D0, [A0 + D0 + 0x6]
  8283. 000052D8  48C0                     ext.l      D0
  8284. 000052DA  2E00                     move.l     D7, D0
  8285. 000052DC  200D                     move.l     D0, A5
  8286. 000052DE  2840                     movea.l    A4, D0
  8287. 000052E0  D9C7                     add.l      A4, D7
  8288. 000052E2  4A87                     tst.l      D7
  8289. 000052E4  6702                     beq        +0x4 /* 000052E8 */
  8290. 000052E6  4E94                     jsr        [A4]
  8291. label000052E8:
  8292. 000052E8  4AAD FED6                tst.l      [A5 - 0x12A]
  8293. 000052EC  6ED2                     bgt        -0x2C /* 000052C0 */
  8294. 000052EE  2F0B                     move.l     -[A7], A3
  8295. 000052F0  A9A3                     syscall    ReleaseResource
  8296. label000052F2:
  8297. 000052F2  4CEE 1880 FFF0           movem.l    D7,A3,A4, [A6 - 0x10]
  8298. 000052F8  4E5E                     unlink     A6
  8299. 000052FA  4E75                     rts
  8300. 000052FC  8964                     or.w       -[A4], D4
  8301. 000052FE  746F                     moveq.l    D2, 0x6F
  8302. 00005300  7273                     moveq.l    D1, 0x73
  8303. 00005302  5F5F                     subq.w     [A7]+, 7
  8304. 00005304  4676 0000                not.w      [A6 + D0.w]
  8305. fn00005308:
  8306. 00005308  4E56 0000                link       A6, 0
  8307. 0000530C  48E7 1338                movem.l    -[A7], D3,D6,D7,A2,A3,A4
  8308. 00005310  2C2E 0018                move.l     D6, [A6 + 0x18]
  8309. 00005314  266E 000C                movea.l    A3, [A6 + 0xC]
  8310. 00005318  4EAD 06F2                jsr        [A5 + 0x6F2 /* export_218 */]
  8311. 0000531C  4A80                     tst.l      D0
  8312. 0000531E  6706                     beq        +0x8 /* 00005326 */
  8313. 00005320  70FF                     moveq.l    D0, 0xFFFFFFFF
  8314. 00005322  6000 01C8                bra        +0x1CA /* 000054EC */
  8315. label00005326:
  8316. 00005326  206D FEF4                movea.l    A0, [A5 - 0x10C]
  8317. 0000532A  20AE 0008                move.l     [A0], [A6 + 0x8]
  8318. 0000532E  7001                     moveq.l    D0, 0x01
  8319. 00005330  4AB8 0316                tst.l      [0x00000316 /* HpChk/MacPgm */]
  8320. 00005334  672C                     beq        +0x2E /* 00005362 */
  8321. 00005336  7201                     moveq.l    D1, 0x01
  8322. 00005338  C2B8 0316                and.l      D1, [0x00000316 /* HpChk/MacPgm */]
  8323. 0000533C  6624                     bne        +0x26 /* 00005362 */
  8324. 0000533E  2078 0316                movea.l    A0, [0x00000316 /* HpChk/MacPgm */]
  8325. 00005342  0C90 4D50 474D           cmpi.l     [A0], 0x4D50474D /* 'MPGM' */
  8326. 00005348  6618                     bne        +0x1A /* 00005362 */
  8327. 0000534A  2078 0316                movea.l    A0, [0x00000316 /* HpChk/MacPgm */]
  8328. 0000534E  4AA8 0004                tst.l      [A0 + 0x4]
  8329. 00005352  670E                     beq        +0x10 /* 00005362 */
  8330. 00005354  2078 0316                movea.l    A0, [0x00000316 /* HpChk/MacPgm */]
  8331. 00005358  2068 0004                movea.l    A0, [A0 + 0x4]
  8332. 0000535C  4A50                     tst.w      [A0]
  8333. 0000535E  6702                     beq        +0x4 /* 00005362 */
  8334. 00005360  7000                     moveq.l    D0, 0x00
  8335. label00005362:
  8336. 00005362  4880                     ext.w      D0
  8337. 00005364  48C0                     ext.l      D0
  8338. 00005366  2B40 FEDA                move.l     [A5 - 0x126], D0
  8339. 0000536A  6760                     beq        +0x62 /* 000053CC */
  8340. 0000536C  41ED FFAE                lea.l      A0, [A5 - 0x52]
  8341. 00005370  43F8 0910                lea.l      A1, [0x00000910 /* CurApName */]
  8342. 00005374  7007                     moveq.l    D0, 0x07
  8343. label00005376:
  8344. 00005376  20D9                     move.l     [A0]+, [A1]+
  8345. 00005378  51C8 FFFC                dbf        D0, -0x6 /* 00005376 */
  8346. 0000537C  30D9                     move.w     [A0]+, [A1]+
  8347. 0000537E  41ED FFAE                lea.l      A0, [A5 - 0x52]
  8348. 00005382  226D FEE4                movea.l    A1, [A5 - 0x11C]
  8349. 00005386  2288                     move.l     [A1], A0
  8350. 00005388  4A86                     tst.l      D6
  8351. 0000538A  660E                     bne        +0x10 /* 0000539A */
  8352. 0000538C  598F                     subq.l     A7, 4
  8353. 0000538E  206D FEE4                movea.l    A0, [A5 - 0x11C]
  8354. 00005392  2F10                     move.l     -[A7], [A0]
  8355. 00005394  4EBA 0C7A                jsr        [PC + 0xC7A /* 00006010 */]
  8356. 00005398  584F                     addq.w     A7, 4
  8357. label0000539A:
  8358. 0000539A  200B                     move.l     D0, A3
  8359. 0000539C  6704                     beq        +0x6 /* 000053A2 */
  8360. 0000539E  7001                     moveq.l    D0, 0x01
  8361. 000053A0  2680                     move.l     [A3], D0
  8362. label000053A2:
  8363. 000053A2  4AAE 0010                tst.l      [A6 + 0x10]
  8364. 000053A6  6708                     beq        +0xA /* 000053B0 */
  8365. 000053A8  206E 0010                movea.l    A0, [A6 + 0x10]
  8366. 000053AC  20AD FEE4                move.l     [A0], [A5 - 0x11C]
  8367. label000053B0:
  8368. 000053B0  4AAE 0014                tst.l      [A6 + 0x14]
  8369. 000053B4  6708                     beq        +0xA /* 000053BE */
  8370. 000053B6  206E 0014                movea.l    A0, [A6 + 0x14]
  8371. 000053BA  20AD FEE8                move.l     [A0], [A5 - 0x118]
  8372. label000053BE:
  8373. 000053BE  4EBA FE16                jsr        [PC - 0x1EA /* 000051D6 */]
  8374. 000053C2  7001                     moveq.l    D0, 0x01
  8375. 000053C4  2B40 FEDA                move.l     [A5 - 0x126], D0
  8376. 000053C8  6000 0122                bra        +0x124 /* 000054EC */
  8377. label000053CC:
  8378. 000053CC  2078 0316                movea.l    A0, [0x00000316 /* HpChk/MacPgm */]
  8379. 000053D0  2068 0004                movea.l    A0, [A0 + 0x4]
  8380. 000053D4  302D FEDE                move.w     D0, [A5 - 0x122]
  8381. 000053D8  B050                     cmp.w      D0, [A0]
  8382. 000053DA  670C                     beq        +0xE /* 000053E8 */
  8383. 000053DC  2F3C 8000 0000           move.l     -[A7], 0x80000000
  8384. 000053E2  4EBA 013C                jsr        [PC + 0x13C /* 00005520 */]
  8385. 000053E6  584F                     addq.w     A7, 4
  8386. label000053E8:
  8387. 000053E8  41ED FEDE                lea.l      A0, [A5 - 0x122]
  8388. 000053EC  2278 0316                movea.l    A1, [0x00000316 /* HpChk/MacPgm */]
  8389. 000053F0  2269 0004                movea.l    A1, [A1 + 0x4]
  8390. 000053F4  2348 0024                move.l     [A1 + 0x24], A0
  8391. 000053F8  2078 0316                movea.l    A0, [0x00000316 /* HpChk/MacPgm */]
  8392. 000053FC  2B68 0004 FF02           move.l     [A5 - 0xFE], [A0 + 0x4]
  8393. 00005402  2078 0316                movea.l    A0, [0x00000316 /* HpChk/MacPgm */]
  8394. 00005406  2068 0004                movea.l    A0, [A0 + 0x4]
  8395. 0000540A  2B68 0002 FEE0           move.l     [A5 - 0x120], [A0 + 0x2]
  8396. 00005410  2078 0316                movea.l    A0, [0x00000316 /* HpChk/MacPgm */]
  8397. 00005414  2068 0004                movea.l    A0, [A0 + 0x4]
  8398. 00005418  2B68 0006 FEE4           move.l     [A5 - 0x11C], [A0 + 0x6]
  8399. 0000541E  2078 0316                movea.l    A0, [0x00000316 /* HpChk/MacPgm */]
  8400. 00005422  2068 0004                movea.l    A0, [A0 + 0x4]
  8401. 00005426  2B68 000A FEE8           move.l     [A5 - 0x118], [A0 + 0xA]
  8402. 0000542C  4A86                     tst.l      D6
  8403. 0000542E  672C                     beq        +0x2E /* 0000545C */
  8404. 00005430  286D FEE4                movea.l    A4, [A5 - 0x11C]
  8405. 00005434  600C                     bra        +0xE /* 00005442 */
  8406. label00005436:
  8407. 00005436  598F                     subq.l     A7, 4
  8408. 00005438  2F14                     move.l     -[A7], [A4]
  8409. 0000543A  4EBA 0B9E                jsr        [PC + 0xB9E /* 00005FDA */]
  8410. 0000543E  584F                     addq.w     A7, 4
  8411. 00005440  584C                     addq.w     A4, 4
  8412. label00005442:
  8413. 00005442  4A94                     tst.l      [A4]
  8414. 00005444  66F0                     bne        -0xE /* 00005436 */
  8415. 00005446  286D FEE8                movea.l    A4, [A5 - 0x118]
  8416. 0000544A  600C                     bra        +0xE /* 00005458 */
  8417. label0000544C:
  8418. 0000544C  598F                     subq.l     A7, 4
  8419. 0000544E  2F14                     move.l     -[A7], [A4]
  8420. 00005450  4EBA 0B88                jsr        [PC + 0xB88 /* 00005FDA */]
  8421. 00005454  584F                     addq.w     A7, 4
  8422. 00005456  584C                     addq.w     A4, 4
  8423. label00005458:
  8424. 00005458  4A94                     tst.l      [A4]
  8425. 0000545A  66F0                     bne        -0xE /* 0000544C */
  8426. label0000545C:
  8427. 0000545C  200B                     move.l     D0, A3
  8428. 0000545E  6704                     beq        +0x6 /* 00005464 */
  8429. 00005460  26AD FEE0                move.l     [A3], [A5 - 0x120]
  8430. label00005464:
  8431. 00005464  4AAE 0010                tst.l      [A6 + 0x10]
  8432. 00005468  6708                     beq        +0xA /* 00005472 */
  8433. 0000546A  206E 0010                movea.l    A0, [A6 + 0x10]
  8434. 0000546E  20AD FEE4                move.l     [A0], [A5 - 0x11C]
  8435. label00005472:
  8436. 00005472  4AAE 0014                tst.l      [A6 + 0x14]
  8437. 00005476  6708                     beq        +0xA /* 00005480 */
  8438. 00005478  206E 0014                movea.l    A0, [A6 + 0x14]
  8439. 0000547C  20AD FEE8                move.l     [A0], [A5 - 0x118]
  8440. label00005480:
  8441. 00005480  2078 0316                movea.l    A0, [0x00000316 /* HpChk/MacPgm */]
  8442. 00005484  2068 0004                movea.l    A0, [A0 + 0x4]
  8443. 00005488  4AA8 0020                tst.l      [A0 + 0x20]
  8444. 0000548C  6754                     beq        +0x56 /* 000054E2 */
  8445. 0000548E  7078                     moveq.l    D0, 0x78
  8446. 00005490  A11E                     syscall    NewPtr, flags=1
  8447. 00005492  2B48 FEFE                move.l     [A5 - 0x102], A0
  8448. 00005496  660A                     bne        +0xC /* 000054A2 */
  8449. 00005498  7002                     moveq.l    D0, 0x02
  8450. 0000549A  2F00                     move.l     -[A7], D0
  8451. 0000549C  4EBA 0082                jsr        [PC + 0x82 /* 00005520 */]
  8452. 000054A0  584F                     addq.w     A7, 4
  8453. label000054A2:
  8454. 000054A2  2078 0316                movea.l    A0, [0x00000316 /* HpChk/MacPgm */]
  8455. 000054A6  2068 0004                movea.l    A0, [A0 + 0x4]
  8456. 000054AA  2668 0020                movea.l    A3, [A0 + 0x20]
  8457. 000054AE  7E00                     moveq.l    D7, 0x00
  8458. 000054B0  7605                     moveq.l    D3, 0x05
  8459. label000054B2:
  8460. 000054B2  2207                     move.l     D1, D7
  8461. 000054B4  2001                     move.l     D0, D1
  8462. 000054B6  C2FC 0018                mulu.w     D1, 0x18
  8463. 000054BA  4840                     swap.w     D0
  8464. 000054BC  C0FC 0018                mulu.w     D0, 0x18
  8465. 000054C0  4840                     swap.w     D0
  8466. 000054C2  4240                     clr.w      D0
  8467. 000054C4  D280                     add.l      D1, D0
  8468. 000054C6  2C01                     move.l     D6, D1
  8469. 000054C8  206D FEFE                movea.l    A0, [A5 - 0x102]
  8470. 000054CC  43F3 6800                lea.l      A1, [A3 + D6]
  8471. 000054D0  45F0 6800                lea.l      A2, [A0 + D6]
  8472. 000054D4  7005                     moveq.l    D0, 0x05
  8473. label000054D6:
  8474. 000054D6  24D9                     move.l     [A2]+, [A1]+
  8475. 000054D8  51C8 FFFC                dbf        D0, -0x6 /* 000054D6 */
  8476. 000054DC  5287                     addq.l     D7, 1
  8477. 000054DE  B687                     cmp.l      D3, D7
  8478. 000054E0  6ED0                     bgt        -0x2E /* 000054B2 */
  8479. label000054E2:
  8480. 000054E2  4EBA FCF2                jsr        [PC - 0x30E /* 000051D6 */]
  8481. 000054E6  7000                     moveq.l    D0, 0x00
  8482. 000054E8  2B40 FEDA                move.l     [A5 - 0x126], D0
  8483. label000054EC:
  8484. 000054EC  4CEE 1CC8 FFE8           movem.l    D3,D6,D7,A2,A3,A4, [A6 - 0x18]
  8485. 000054F2  4E5E                     unlink     A6
  8486. 000054F4  4E75                     rts
  8487. 000054F6  875F                     or.w       [A7]+, D3
  8488. 000054F8  5254                     addq.w     [A4], 1
  8489. 000054FA  496E 6974                chk.w      D4, [A6 + 0x6974]
  8490. 000054FE  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  8491. // begin alternate branch 00005500-0000550A
  8492. fn00005500:
  8493. 00005500  4E56 0000                link       A6, 0
  8494. 00005504  203C 00FF FFFF           move.l     D0, 0xFFFFFF
  8495. // end alternate branch 00005500-0000550A
  8496. fn00005500: // (misaligned)
  8497. 00005502  0000 203C                ori.b      D0, 0x3C /* '<' */
  8498. 00005506  00FF                     .incomplete
  8499. 00005508  FFFF                     .invalid   <<F/7/7>>
  8500. 0000550A  C0AE 0008                and.l      D0, [A6 + 0x8]
  8501. 0000550E  2F00                     move.l     -[A7], D0
  8502. 00005510  4EBA 000E                jsr        [PC + 0xE /* 00005520 */]
  8503. 00005514  4E5E                     unlink     A6
  8504. 00005516  4E75                     rts
  8505. 00005518  8465                     or.w       D2, -[A5]
  8506. 0000551A  7869                     moveq.l    D4, 0x69
  8507. 0000551C  7400                     moveq.l    D2, 0x00
  8508. 0000551E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  8509. // begin alternate branch 00005520-00005526
  8510. fn00005520:
  8511. 00005520  4E56 0000                link       A6, 0
  8512. 00005524  2F0C                     move.l     -[A7], A4
  8513. // end alternate branch 00005520-00005526
  8514. fn00005520: // (misaligned)
  8515. 00005522  0000 2F0C                ori.b      D0, 0xC
  8516. 00005526  206D FEF4                movea.l    A0, [A5 - 0x10C]
  8517. 0000552A  49E8 008C                lea.l      A4, [A0 + 0x8C]
  8518. 0000552E  600A                     bra        +0xC /* 0000553A */
  8519. label00005530:
  8520. 00005530  4A94                     tst.l      [A4]
  8521. 00005532  6704                     beq        +0x6 /* 00005538 */
  8522. 00005534  2054                     movea.l    A0, [A4]
  8523. 00005536  4E90                     jsr        [A0]
  8524. label00005538:
  8525. 00005538  594C                     subq.w     A4, 4
  8526. label0000553A:
  8527. 0000553A  206D FEF4                movea.l    A0, [A5 - 0x10C]
  8528. 0000553E  B1CC                     cmpa.l     A0, A4
  8529. 00005540  65EE                     bcs        -0x10 /* 00005530 */
  8530. 00005542  4AAD FF02                tst.l      [A5 - 0xFE]
  8531. 00005546  670A                     beq        +0xC /* 00005552 */
  8532. 00005548  206D FF02                movea.l    A0, [A5 - 0xFE]
  8533. 0000554C  216E 0008 000E           move.l     [A0 + 0xE], [A6 + 0x8]
  8534. label00005552:
  8535. 00005552  4AAD FFE8                tst.l      [A5 - 0x18]
  8536. 00005556  660A                     bne        +0xC /* 00005562 */
  8537. 00005558  206D FEF4                movea.l    A0, [A5 - 0x10C]
  8538. 0000555C  2250                     movea.l    A1, [A0]
  8539. 0000555E  4E91                     jsr        [A1]
  8540. 00005560  600E                     bra        +0x10 /* 00005570 */
  8541. label00005562:
  8542. 00005562  7001                     moveq.l    D0, 0x01
  8543. 00005564  2F00                     move.l     -[A7], D0
  8544. 00005566  486D FFD0                pea.l      [A5 - 0x30]
  8545. 0000556A  4EBA 00E0                jsr        [PC + 0xE0 /* 0000564C */]
  8546. 0000556E  504F                     addq.w     A7, 8
  8547. label00005570:
  8548. 00005570  286E FFFC                movea.l    A4, [A6 - 0x4]
  8549. 00005574  4E5E                     unlink     A6
  8550. 00005576  4E75                     rts
  8551. 00005578  875F                     or.w       [A7]+, D3
  8552. 0000557A  5254                     addq.w     [A4], 1
  8553. 0000557C  4578 6974                chk.w      D2, [0x00006974]
  8554. 00005580  0000 202F                ori.b      D0, 0x2F /* '/' */
  8555. 00005584  0004 222F                ori.b      D4, 0x2F /* '/' */
  8556. 00005588  0008 2F02                ori.b      A0, 0x2
  8557. // begin alternate branch 0000558A-0000558C
  8558. export_82:
  8559. fn0000558A:
  8560. 0000558A  2F02                     move.l     -[A7], D2
  8561. // end alternate branch 0000558A-0000558C
  8562. export_82: // at 0000558A (misaligned)
  8563. fn0000558A: // (misaligned)
  8564. 0000558C  2400                     move.l     D2, D0
  8565. 0000558E  C4C1                     mulu.w     D2, D1
  8566. 00005590  2042                     movea.l    A0, D2
  8567. 00005592  2401                     move.l     D2, D1
  8568. 00005594  4842                     swap.w     D2
  8569. 00005596  C4C0                     mulu.w     D2, D0
  8570. 00005598  4840                     swap.w     D0
  8571. 0000559A  C2C0                     mulu.w     D1, D0
  8572. 0000559C  D441                     add.w      D2, D1
  8573. 0000559E  4842                     swap.w     D2
  8574. 000055A0  4242                     clr.w      D2
  8575. 000055A2  D1C2                     add.l      A0, D2
  8576. 000055A4  2008                     move.l     D0, A0
  8577. 000055A6  241F                     move.l     D2, [A7]+
  8578. 000055A8  4E75                     rts
  8579. 000055AA  222F 0004                move.l     D1, [A7 + 0x4]
  8580. 000055AE  202F 0008                move.l     D0, [A7 + 0x8]
  8581. export_83:
  8582. fn000055B2:
  8583. 000055B2  4EBA 000E                jsr        [PC + 0xE /* 000055C2 */]
  8584. 000055B6  2001                     move.l     D0, D1
  8585. 000055B8  4E75                     rts
  8586. 000055BA  222F 0004                move.l     D1, [A7 + 0x4]
  8587. 000055BE  202F 0008                move.l     D0, [A7 + 0x8]
  8588. export_84:
  8589. fn000055C2:
  8590. 000055C2  48E7 0600                movem.l    -[A7], D5,D6
  8591. 000055C6  2A00                     move.l     D5, D0
  8592. 000055C8  6A02                     bpl        +0x4 /* 000055CC */
  8593. 000055CA  4480                     neg.l      D0
  8594. label000055CC:
  8595. 000055CC  2C01                     move.l     D6, D1
  8596. 000055CE  6A02                     bpl        +0x4 /* 000055D2 */
  8597. 000055D0  4481                     neg.l      D1
  8598. label000055D2:
  8599. 000055D2  4EBA 001C                jsr        [PC + 0x1C /* 000055F0 */]
  8600. 000055D6  4A85                     tst.l      D5
  8601. 000055D8  6A02                     bpl        +0x4 /* 000055DC */
  8602. 000055DA  4480                     neg.l      D0
  8603. label000055DC:
  8604. 000055DC  BB86                     xor.l      D6, D5
  8605. 000055DE  6A02                     bpl        +0x4 /* 000055E2 */
  8606. 000055E0  4481                     neg.l      D1
  8607. label000055E2:
  8608. 000055E2  4CDF 0060                movem.l    D5,D6, [A7]+
  8609. 000055E6  4E75                     rts
  8610. 000055E8  222F 0004                move.l     D1, [A7 + 0x4]
  8611. 000055EC  202F 0008                move.l     D0, [A7 + 0x8]
  8612. fn000055F0:
  8613. 000055F0  48E7 3800                movem.l    -[A7], D2,D3,D4
  8614. 000055F4  2401                     move.l     D2, D1
  8615. 000055F6  4842                     swap.w     D2
  8616. 000055F8  4A42                     tst.w      D2
  8617. 000055FA  661C                     bne        +0x1E /* 00005618 */
  8618. 000055FC  3600                     move.w     D3, D0
  8619. 000055FE  4240                     clr.w      D0
  8620. 00005600  4840                     swap.w     D0
  8621. 00005602  6704                     beq        +0x6 /* 00005608 */
  8622. 00005604  80C1                     divu.w     D0, D1
  8623. 00005606  3400                     move.w     D2, D0
  8624. label00005608:
  8625. 00005608  4842                     swap.w     D2
  8626. 0000560A  3003                     move.w     D0, D3
  8627. 0000560C  80C1                     divu.w     D0, D1
  8628. 0000560E  3400                     move.w     D2, D0
  8629. 00005610  2202                     move.l     D1, D2
  8630. 00005612  4240                     clr.w      D0
  8631. 00005614  4840                     swap.w     D0
  8632. 00005616  6022                     bra        +0x24 /* 0000563A */
  8633. label00005618:
  8634. 00005618  2400                     move.l     D2, D0
  8635. 0000561A  4240                     clr.w      D0
  8636. 0000561C  4840                     swap.w     D0
  8637. 0000561E  4842                     swap.w     D2
  8638. 00005620  4242                     clr.w      D2
  8639. 00005622  2601                     move.l     D3, D1
  8640. 00005624  7200                     moveq.l    D1, 0x00
  8641. 00005626  780F                     moveq.l    D4, 0x0F
  8642. label00005628:
  8643. 00005628  D482                     add.l      D2, D2
  8644. 0000562A  D180                     addx.l     D0, D0
  8645. 0000562C  D281                     add.l      D1, D1
  8646. 0000562E  B083                     cmp.l      D0, D3
  8647. 00005630  6504                     bcs        +0x6 /* 00005636 */
  8648. 00005632  9083                     sub.l      D0, D3
  8649. 00005634  5201                     addq.b     D1, 1
  8650. label00005636:
  8651. 00005636  51CC FFF0                dbf        D4, -0x12 /* 00005628 */
  8652. label0000563A:
  8653. 0000563A  4CDF 001C                movem.l    D2,D3,D4, [A7]+
  8654. 0000563E  4E75                     rts
  8655. fn00005640:
  8656. 00005640  225F                     movea.l    A1, [A7]+
  8657. 00005642  2057                     movea.l    A0, [A7]
  8658. 00005644  48D0 DEFC                movem.l    [A0], D2,D3,D4,D5,D6,D7,A1,A2,A3,A4,A6,A7
  8659. 00005648  7000                     moveq.l    D0, 0x00
  8660. 0000564A  4ED1                     jmp        [A1]
  8661. fn0000564C:
  8662. 0000564C  202F 0008                move.l     D0, [A7 + 0x8]
  8663. 00005650  6602                     bne        +0x4 /* 00005654 */
  8664. 00005652  7001                     moveq.l    D0, 0x01
  8665. label00005654:
  8666. 00005654  206F 0004                movea.l    A0, [A7 + 0x4]
  8667. 00005658  4CD0 DEFC                movem.l    D2,D3,D4,D5,D6,D7,A1,A2,A3,A4,A6,A7, [A0]
  8668. 0000565C  4ED1                     jmp        [A1]
  8669. export_85:
  8670. 0000565E  225F                     movea.l    A1, [A7]+
  8671. 00005660  201F                     move.l     D0, [A7]+
  8672. 00005662  A31E                     syscall    NewPtrClear, flags=3
  8673. 00005664  2E88                     move.l     [A7], A0
  8674. 00005666  4ED1                     jmp        [A1]
  8675. export_86:
  8676. fn00005668:
  8677. 00005668  225F                     movea.l    A1, [A7]+
  8678. 0000566A  205F                     movea.l    A0, [A7]+
  8679. 0000566C  A025                     syscall    GetHandleSize
  8680. 0000566E  2E80                     move.l     [A7], D0
  8681. 00005670  6A02                     bpl        +0x4 /* 00005674 */
  8682. 00005672  4297                     clr.l      [A7]
  8683. label00005674:
  8684. 00005674  4ED1                     jmp        [A1]
  8685. export_87:
  8686. 00005676  225F                     movea.l    A1, [A7]+
  8687. 00005678  121F                     move.b     D1, [A7]+
  8688. 0000567A  301F                     move.w     D0, [A7]+
  8689. 0000567C  4A01                     tst.b      D1
  8690. 0000567E  6704                     beq        +0x6 /* 00005684 */
  8691. 00005680  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  8692. 00005682  6002                     bra        +0x4 /* 00005686 */
  8693. label00005684:
  8694. 00005684  A346                     syscall    GetOSTrapAddress, flags=3
  8695. label00005686:
  8696. 00005686  2E88                     move.l     [A7], A0
  8697. 00005688  4ED1                     jmp        [A1]
  8698. export_88:
  8699. 0000568A  206F 000C                movea.l    A0, [A7 + 0xC]
  8700. 0000568E  226F 0008                movea.l    A1, [A7 + 0x8]
  8701. 00005692  7000                     moveq.l    D0, 0x00
  8702. 00005694  1018                     move.b     D0, [A0]+
  8703. 00005696  4840                     swap.w     D0
  8704. 00005698  1019                     move.b     D0, [A1]+
  8705. 0000569A  4A2F 0004                tst.b      [A7 + 0x4]
  8706. 0000569E  670E                     beq        +0x10 /* 000056AE */
  8707. 000056A0  4A2F 0006                tst.b      [A7 + 0x6]
  8708. 000056A4  6704                     beq        +0x6 /* 000056AA */
  8709. 000056A6  A43C                     syscall    CmpString, flags=4
  8710. 000056A8  6010                     bra        +0x12 /* 000056BA */
  8711. label000056AA:
  8712. 000056AA  A03C                     syscall    CmpString
  8713. 000056AC  600C                     bra        +0xE /* 000056BA */
  8714. label000056AE:
  8715. 000056AE  4A2F 0006                tst.b      [A7 + 0x6]
  8716. 000056B2  6704                     beq        +0x6 /* 000056B8 */
  8717. 000056B4  A63C                     syscall    CmpString, flags=6
  8718. 000056B6  6002                     bra        +0x4 /* 000056BA */
  8719. label000056B8:
  8720. 000056B8  A23C                     syscall    CmpString, flags=2
  8721. label000056BA:
  8722. 000056BA  0A00 0001                xori.b     D0, 0x1
  8723. 000056BE  1F40 0010                move.b     [A7 + 0x10], D0
  8724. 000056C2  205F                     movea.l    A0, [A7]+
  8725. 000056C4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8726. 000056C8  4ED0                     jmp        [A0]
  8727. fn000056CA:
  8728. 000056CA  225F                     movea.l    A1, [A7]+
  8729. 000056CC  101F                     move.b     D0, [A7]+
  8730. 000056CE  205F                     movea.l    A0, [A7]+
  8731. 000056D0  6604                     bne        +0x6 /* 000056D6 */
  8732. 000056D2  A002                     syscall    Read
  8733. 000056D4  6002                     bra        +0x4 /* 000056D8 */
  8734. label000056D6:
  8735. 000056D6  A402                     syscall    Read, flags=4
  8736. label000056D8:
  8737. 000056D8  3E80                     move.w     [A7], D0
  8738. 000056DA  4ED1                     jmp        [A1]
  8739. fn000056DC:
  8740. 000056DC  225F                     movea.l    A1, [A7]+
  8741. 000056DE  101F                     move.b     D0, [A7]+
  8742. 000056E0  205F                     movea.l    A0, [A7]+
  8743. 000056E2  6604                     bne        +0x6 /* 000056E8 */
  8744. 000056E4  A003                     syscall    Write
  8745. 000056E6  6002                     bra        +0x4 /* 000056EA */
  8746. label000056E8:
  8747. 000056E8  A403                     syscall    Write, flags=4
  8748. label000056EA:
  8749. 000056EA  3E80                     move.w     [A7], D0
  8750. 000056EC  4ED1                     jmp        [A1]
  8751. export_89:
  8752. 000056EE  225F                     movea.l    A1, [A7]+
  8753. 000056F0  101F                     move.b     D0, [A7]+
  8754. 000056F2  205F                     movea.l    A0, [A7]+
  8755. 000056F4  6604                     bne        +0x6 /* 000056FA */
  8756. 000056F6  A007                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo
  8757. 000056F8  6002                     bra        +0x4 /* 000056FC */
  8758. label000056FA:
  8759. 000056FA  A407                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=4
  8760. label000056FC:
  8761. 000056FC  3E80                     move.w     [A7], D0
  8762. 000056FE  4ED1                     jmp        [A1]
  8763. export_90:
  8764. 00005700  225F                     movea.l    A1, [A7]+
  8765. 00005702  101F                     move.b     D0, [A7]+
  8766. 00005704  205F                     movea.l    A0, [A7]+
  8767. 00005706  6604                     bne        +0x6 /* 0000570C */
  8768. 00005708  A00C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo
  8769. 0000570A  6002                     bra        +0x4 /* 0000570E */
  8770. label0000570C:
  8771. 0000570C  A40C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=4
  8772. label0000570E:
  8773. 0000570E  3E80                     move.w     [A7], D0
  8774. 00005710  4ED1                     jmp        [A1]
  8775. fn00005712:
  8776. 00005712  225F                     movea.l    A1, [A7]+
  8777. 00005714  101F                     move.b     D0, [A7]+
  8778. 00005716  205F                     movea.l    A0, [A7]+
  8779. 00005718  6604                     bne        +0x6 /* 0000571E */
  8780. 0000571A  A012                     syscall    SetEOF
  8781. 0000571C  6002                     bra        +0x4 /* 00005720 */
  8782. label0000571E:
  8783. 0000571E  A412                     syscall    SetEOF, flags=4
  8784. label00005720:
  8785. 00005720  3E80                     move.w     [A7], D0
  8786. 00005722  4ED1                     jmp        [A1]
  8787. fn00005724:
  8788. 00005724  4E56 FFCE                link       A6, -0x0032
  8789. 00005728  204F                     movea.l    A0, A7
  8790. 0000572A  316E 0008 0018           move.w     [A0 + 0x18], [A6 + 0x8]
  8791. 00005730  A001                     syscall    Close
  8792. 00005732  3D40 000A                move.w     [A6 + 0xA], D0
  8793. 00005736  4E5E                     unlink     A6
  8794. 00005738  205F                     movea.l    A0, [A7]+
  8795. 0000573A  548F                     addq.l     A7, 2
  8796. 0000573C  4ED0                     jmp        [A0]
  8797. export_91:
  8798. 0000573E  4E56 FFB0                link       A6, -0x0050
  8799. 00005742  204F                     movea.l    A0, A7
  8800. 00005744  216E 000E 0012           move.l     [A0 + 0x12], [A6 + 0xE]
  8801. 0000574A  316E 000C 0016           move.w     [A0 + 0x16], [A6 + 0xC]
  8802. 00005750  4228 001A                clr.b      [A0 + 0x1A]
  8803. 00005754  4268 001C                clr.w      [A0 + 0x1C]
  8804. 00005758  A00C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo
  8805. 0000575A  3D40 0012                move.w     [A6 + 0x12], D0
  8806. 0000575E  41E8 0020                lea.l      A0, [A0 + 0x20]
  8807. 00005762  226E 0008                movea.l    A1, [A6 + 0x8]
  8808. 00005766  7010                     moveq.l    D0, 0x10
  8809. 00005768  A02E                     syscall    BlockMove/BlockMoveData
  8810. 0000576A  4E5E                     unlink     A6
  8811. 0000576C  225F                     movea.l    A1, [A7]+
  8812. 0000576E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  8813. 00005772  4ED1                     jmp        [A1]
  8814. export_92:
  8815. 00005774  4E56 FFC0                link       A6, -0x0040
  8816. 00005778  204F                     movea.l    A0, A7
  8817. 0000577A  216E 000C 0012           move.l     [A0 + 0x12], [A6 + 0xC]
  8818. 00005780  A014                     syscall    GetVol/PBHGetVol/HGetVol
  8819. 00005782  3D40 0010                move.w     [A6 + 0x10], D0
  8820. 00005786  226E 0008                movea.l    A1, [A6 + 0x8]
  8821. 0000578A  32A8 0016                move.w     [A1], [A0 + 0x16]
  8822. 0000578E  4E5E                     unlink     A6
  8823. 00005790  225F                     movea.l    A1, [A7]+
  8824. 00005792  508F                     addq.l     A7, 8
  8825. 00005794  4ED1                     jmp        [A1]
  8826. fn00005796:
  8827. 00005796  4E56 FFC0                link       A6, -0x0040
  8828. 0000579A  204F                     movea.l    A0, A7
  8829. 0000579C  316E 0008 0016           move.w     [A0 + 0x16], [A6 + 0x8]
  8830. 000057A2  216E 000A 0012           move.l     [A0 + 0x12], [A6 + 0xA]
  8831. 000057A8  A013                     syscall    FlushVol
  8832. 000057AA  3D40 000E                move.w     [A6 + 0xE], D0
  8833. 000057AE  4E5E                     unlink     A6
  8834. 000057B0  225F                     movea.l    A1, [A7]+
  8835. 000057B2  5C8F                     addq.l     A7, 6
  8836. 000057B4  4ED1                     jmp        [A1]
  8837. export_93:
  8838. 000057B6  4E56 FFB0                link       A6, -0x0050
  8839. 000057BA  204F                     movea.l    A0, A7
  8840. 000057BC  216E 000E 0012           move.l     [A0 + 0x12], [A6 + 0xE]
  8841. 000057C2  316E 000C 0016           move.w     [A0 + 0x16], [A6 + 0xC]
  8842. 000057C8  4228 001A                clr.b      [A0 + 0x1A]
  8843. 000057CC  4268 001C                clr.w      [A0 + 0x1C]
  8844. 000057D0  A00C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo
  8845. 000057D2  43E8 0020                lea.l      A1, [A0 + 0x20]
  8846. 000057D6  206E 0008                movea.l    A0, [A6 + 0x8]
  8847. 000057DA  7010                     moveq.l    D0, 0x10
  8848. 000057DC  A02E                     syscall    BlockMove/BlockMoveData
  8849. 000057DE  204F                     movea.l    A0, A7
  8850. 000057E0  A00D                     syscall    SetFileInfo/PBHSetFInfo/HSetFileInfo
  8851. 000057E2  3D40 0012                move.w     [A6 + 0x12], D0
  8852. 000057E6  4E5E                     unlink     A6
  8853. 000057E8  225F                     movea.l    A1, [A7]+
  8854. 000057EA  4FEF 000A                lea.l      A7, [A7 + 0xA]
  8855. 000057EE  4ED1                     jmp        [A1]
  8856. fn000057F0:
  8857. 000057F0  225F                     movea.l    A1, [A7]+
  8858. 000057F2  101F                     move.b     D0, [A7]+
  8859. 000057F4  205F                     movea.l    A0, [A7]+
  8860. 000057F6  6604                     bne        +0x6 /* 000057FC */
  8861. 000057F8  A214                     syscall    GetVol/PBHGetVol/HGetVol, flags=2
  8862. 000057FA  6002                     bra        +0x4 /* 000057FE */
  8863. label000057FC:
  8864. 000057FC  A614                     syscall    GetVol/PBHGetVol/HGetVol, flags=6
  8865. label000057FE:
  8866. 000057FE  3E80                     move.w     [A7], D0
  8867. 00005800  4ED1                     jmp        [A1]
  8868. fn00005802:
  8869. 00005802  225F                     movea.l    A1, [A7]+
  8870. 00005804  101F                     move.b     D0, [A7]+
  8871. 00005806  205F                     movea.l    A0, [A7]+
  8872. 00005808  6606                     bne        +0x8 /* 00005810 */
  8873. 0000580A  7007                     moveq.l    D0, 0x07
  8874. 0000580C  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  8875. 0000580E  6004                     bra        +0x6 /* 00005814 */
  8876. label00005810:
  8877. 00005810  7007                     moveq.l    D0, 0x07
  8878. 00005812  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  8879. label00005814:
  8880. 00005814  3E80                     move.w     [A7], D0
  8881. 00005816  4ED1                     jmp        [A1]
  8882. fn00005818:
  8883. 00005818  225F                     movea.l    A1, [A7]+
  8884. 0000581A  101F                     move.b     D0, [A7]+
  8885. 0000581C  205F                     movea.l    A0, [A7]+
  8886. 0000581E  6606                     bne        +0x8 /* 00005826 */
  8887. 00005820  7010                     moveq.l    D0, 0x10
  8888. 00005822  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  8889. 00005824  6004                     bra        +0x6 /* 0000582A */
  8890. label00005826:
  8891. 00005826  7010                     moveq.l    D0, 0x10
  8892. 00005828  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  8893. label0000582A:
  8894. 0000582A  3E80                     move.w     [A7], D0
  8895. 0000582C  4ED1                     jmp        [A1]
  8896. fn0000582E:
  8897. 0000582E  225F                     movea.l    A1, [A7]+
  8898. 00005830  101F                     move.b     D0, [A7]+
  8899. 00005832  205F                     movea.l    A0, [A7]+
  8900. 00005834  6606                     bne        +0x8 /* 0000583C */
  8901. 00005836  7011                     moveq.l    D0, 0x11
  8902. 00005838  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  8903. 0000583A  6004                     bra        +0x6 /* 00005840 */
  8904. label0000583C:
  8905. 0000583C  7011                     moveq.l    D0, 0x11
  8906. 0000583E  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  8907. label00005840:
  8908. 00005840  3E80                     move.w     [A7], D0
  8909. 00005842  4ED1                     jmp        [A1]
  8910. fn00005844:
  8911. 00005844  225F                     movea.l    A1, [A7]+
  8912. 00005846  101F                     move.b     D0, [A7]+
  8913. 00005848  205F                     movea.l    A0, [A7]+
  8914. 0000584A  6604                     bne        +0x6 /* 00005850 */
  8915. 0000584C  A200                     syscall    OpenSlot, flags=2
  8916. 0000584E  6002                     bra        +0x4 /* 00005852 */
  8917. label00005850:
  8918. 00005850  A600                     syscall    Open/PBHOpen/HOpen, flags=6
  8919. label00005852:
  8920. 00005852  3E80                     move.w     [A7], D0
  8921. 00005854  4ED1                     jmp        [A1]
  8922. fn00005856:
  8923. 00005856  225F                     movea.l    A1, [A7]+
  8924. 00005858  101F                     move.b     D0, [A7]+
  8925. 0000585A  205F                     movea.l    A0, [A7]+
  8926. 0000585C  6604                     bne        +0x6 /* 00005862 */
  8927. 0000585E  A208                     syscall    Create/PBHCreate/HCreate, flags=2
  8928. 00005860  6002                     bra        +0x4 /* 00005864 */
  8929. label00005862:
  8930. 00005862  A608                     syscall    Create/PBHCreate/HCreate, flags=6
  8931. label00005864:
  8932. 00005864  3E80                     move.w     [A7], D0
  8933. 00005866  4ED1                     jmp        [A1]
  8934. fn00005868:
  8935. 00005868  225F                     movea.l    A1, [A7]+
  8936. 0000586A  101F                     move.b     D0, [A7]+
  8937. 0000586C  205F                     movea.l    A0, [A7]+
  8938. 0000586E  6604                     bne        +0x6 /* 00005874 */
  8939. 00005870  A209                     syscall    Delete/PBHDelete/HDelete, flags=2
  8940. 00005872  6002                     bra        +0x4 /* 00005876 */
  8941. label00005874:
  8942. 00005874  A609                     syscall    Delete/PBHDelete/HDelete, flags=6
  8943. label00005876:
  8944. 00005876  3E80                     move.w     [A7], D0
  8945. 00005878  4ED1                     jmp        [A1]
  8946. fn0000587A:
  8947. 0000587A  225F                     movea.l    A1, [A7]+
  8948. 0000587C  101F                     move.b     D0, [A7]+
  8949. 0000587E  205F                     movea.l    A0, [A7]+
  8950. 00005880  6604                     bne        +0x6 /* 00005886 */
  8951. 00005882  A242                     syscall    RstFilLock/PBHRstFLock/HRstFLock, flags=2
  8952. 00005884  6002                     bra        +0x4 /* 00005888 */
  8953. label00005886:
  8954. 00005886  A642                     syscall    RstFilLock/PBHRstFLock/HRstFLock, flags=6
  8955. label00005888:
  8956. 00005888  3E80                     move.w     [A7], D0
  8957. 0000588A  4ED1                     jmp        [A1]
  8958. fn0000588C:
  8959. 0000588C  225F                     movea.l    A1, [A7]+
  8960. 0000588E  101F                     move.b     D0, [A7]+
  8961. 00005890  205F                     movea.l    A0, [A7]+
  8962. 00005892  6604                     bne        +0x6 /* 00005898 */
  8963. 00005894  A20C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
  8964. 00005896  6002                     bra        +0x4 /* 0000589A */
  8965. label00005898:
  8966. 00005898  A60C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=6
  8967. label0000589A:
  8968. 0000589A  3E80                     move.w     [A7], D0
  8969. 0000589C  4ED1                     jmp        [A1]
  8970. fn0000589E:
  8971. 0000589E  225F                     movea.l    A1, [A7]+
  8972. 000058A0  101F                     move.b     D0, [A7]+
  8973. 000058A2  205F                     movea.l    A0, [A7]+
  8974. 000058A4  6604                     bne        +0x6 /* 000058AA */
  8975. 000058A6  A20D                     syscall    SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=2
  8976. 000058A8  6002                     bra        +0x4 /* 000058AC */
  8977. label000058AA:
  8978. 000058AA  A60D                     syscall    SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=6
  8979. label000058AC:
  8980. 000058AC  3E80                     move.w     [A7], D0
  8981. 000058AE  4ED1                     jmp        [A1]
  8982. export_94:
  8983. 000058B0  226F 0004                movea.l    A1, [A7 + 0x4]
  8984. 000058B4  4251                     clr.w      [A1]
  8985. 000058B6  2078 0AEC                movea.l    A0, [0x00000AEC /* AppParmHandle */]
  8986. 000058BA  A025                     syscall    GetHandleSize
  8987. 000058BC  4A80                     tst.l      D0
  8988. 000058BE  6F0E                     ble        +0x10 /* 000058CE */
  8989. 000058C0  2050                     movea.l    A0, [A0]
  8990. 000058C2  226F 0008                movea.l    A1, [A7 + 0x8]
  8991. 000058C6  3298                     move.w     [A1], [A0]+
  8992. 000058C8  226F 0004                movea.l    A1, [A7 + 0x4]
  8993. 000058CC  3290                     move.w     [A1], [A0]
  8994. label000058CE:
  8995. 000058CE  205F                     movea.l    A0, [A7]+
  8996. 000058D0  504F                     addq.w     A7, 8
  8997. 000058D2  4ED0                     jmp        [A0]
  8998. export_95:
  8999. 000058D4  48E7 0030                movem.l    -[A7], A2,A3
  9000. 000058D8  226F 000C                movea.l    A1, [A7 + 0xC]
  9001. 000058DC  42A9 0002                clr.l      [A1 + 0x2]
  9002. 000058E0  2078 0AEC                movea.l    A0, [0x00000AEC /* AppParmHandle */]
  9003. 000058E4  A025                     syscall    GetHandleSize
  9004. 000058E6  4A80                     tst.l      D0
  9005. 000058E8  6F26                     ble        +0x28 /* 00005910 */
  9006. 000058EA  2450                     movea.l    A2, [A0]
  9007. 000058EC  544A                     addq.w     A2, 2
  9008. 000058EE  322F 0010                move.w     D1, [A7 + 0x10]
  9009. 000058F2  B25A                     cmp.w      D1, [A2]+
  9010. 000058F4  6E1A                     bgt        +0x1C /* 00005910 */
  9011. 000058F6  5341                     subq.w     D1, 1
  9012. label000058F8:
  9013. 000058F8  6D16                     blt        +0x18 /* 00005910 */
  9014. 000058FA  204A                     movea.l    A0, A2
  9015. 000058FC  7002                     moveq.l    D0, 0x02
  9016. 000058FE  D028 0008                add.b      D0, [A0 + 0x8]
  9017. 00005902  0240 FFFE                andi.w     D0, 0xFFFE
  9018. 00005906  5040                     addq.w     D0, 8
  9019. 00005908  D4C0                     add.w      A2, D0
  9020. 0000590A  A02E                     syscall    BlockMove/BlockMoveData
  9021. 0000590C  5341                     subq.w     D1, 1
  9022. 0000590E  60E8                     bra        -0x16 /* 000058F8 */
  9023. label00005910:
  9024. 00005910  4CDF 0C00                movem.l    A2,A3, [A7]+
  9025. 00005914  205F                     movea.l    A0, [A7]+
  9026. 00005916  5C4F                     addq.w     A7, 6
  9027. 00005918  4ED0                     jmp        [A0]
  9028. export_96:
  9029. 0000591A  2078 0AEC                movea.l    A0, [0x00000AEC /* AppParmHandle */]
  9030. 0000591E  A025                     syscall    GetHandleSize
  9031. 00005920  4A80                     tst.l      D0
  9032. 00005922  6F28                     ble        +0x2A /* 0000594C */
  9033. 00005924  2050                     movea.l    A0, [A0]
  9034. 00005926  5448                     addq.w     A0, 2
  9035. 00005928  322F 0004                move.w     D1, [A7 + 0x4]
  9036. 0000592C  B258                     cmp.w      D1, [A0]+
  9037. 0000592E  6E1C                     bgt        +0x1E /* 0000594C */
  9038. 00005930  5341                     subq.w     D1, 1
  9039. label00005932:
  9040. 00005932  6D18                     blt        +0x1A /* 0000594C */
  9041. 00005934  6712                     beq        +0x14 /* 00005948 */
  9042. 00005936  7002                     moveq.l    D0, 0x02
  9043. 00005938  D028 0008                add.b      D0, [A0 + 0x8]
  9044. 0000593C  0240 FFFE                andi.w     D0, 0xFFFE
  9045. 00005940  5040                     addq.w     D0, 8
  9046. 00005942  D0C0                     add.w      A0, D0
  9047. 00005944  5341                     subq.w     D1, 1
  9048. 00005946  60EA                     bra        -0x14 /* 00005932 */
  9049. label00005948:
  9050. 00005948  42A8 0002                clr.l      [A0 + 0x2]
  9051. label0000594C:
  9052. 0000594C  205F                     movea.l    A0, [A7]+
  9053. 0000594E  544F                     addq.w     A7, 2
  9054. 00005950  4ED0                     jmp        [A0]
  9055. export_97:
  9056. 00005952  A162                     syscall    PurgeSpace, flags=1
  9057. 00005954  226F 0004                movea.l    A1, [A7 + 0x4]
  9058. 00005958  2288                     move.l     [A1], A0
  9059. 0000595A  226F 0008                movea.l    A1, [A7 + 0x8]
  9060. 0000595E  2280                     move.l     [A1], D0
  9061. 00005960  225F                     movea.l    A1, [A7]+
  9062. 00005962  504F                     addq.w     A7, 8
  9063. 00005964  4ED1                     jmp        [A1]
  9064. export_98:
  9065. 00005966  4E56 FFCC                link       A6, -0x0034
  9066. 0000596A  2F07                     move.l     -[A7], D7
  9067. 0000596C  2D6E 0010 FFDE           move.l     [A6 - 0x22], [A6 + 0x10]
  9068. 00005972  558F                     subq.l     A7, 2
  9069. 00005974  486E FFCC                pea.l      [A6 - 0x34]
  9070. 00005978  7000                     moveq.l    D0, 0x00
  9071. 0000597A  1F00                     move.b     -[A7], D0
  9072. 0000597C  4EBA FE72                jsr        [PC - 0x18E /* 000057F0 */]
  9073. 00005980  3E1F                     move.w     D7, [A7]+
  9074. 00005982  206E 000C                movea.l    A0, [A6 + 0xC]
  9075. 00005986  30AE FFE2                move.w     [A0], [A6 - 0x1E]
  9076. 0000598A  206E 0008                movea.l    A0, [A6 + 0x8]
  9077. 0000598E  20AE FFFC                move.l     [A0], [A6 - 0x4]
  9078. 00005992  3D47 0014                move.w     [A6 + 0x14], D7
  9079. 00005996  2E2E FFC8                move.l     D7, [A6 - 0x38]
  9080. 0000599A  4E5E                     unlink     A6
  9081. 0000599C  205F                     movea.l    A0, [A7]+
  9082. 0000599E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  9083. 000059A2  4ED0                     jmp        [A0]
  9084. 000059A4  8748 4745                pack       -[A3], -[A0], 0x4745
  9085. 000059A8  5456                     addq.w     [A6], 2
  9086. 000059AA  4F4C                     chk.w      D7, A4
  9087. 000059AC  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  9088. // begin alternate branch 000059AE-000059B2
  9089. fn000059AE:
  9090. 000059AE  4E56 FF86                link       A6, -0x007A
  9091. // end alternate branch 000059AE-000059B2
  9092. fn000059AE: // (misaligned)
  9093. 000059B0  FF86                     .invalid   <<F/6/7>>
  9094. 000059B2  2F07                     move.l     -[A7], D7
  9095. 000059B4  3D6E 0016 FF9C           move.w     [A6 - 0x64], [A6 + 0x16]
  9096. 000059BA  2D6E 0012 FFB6           move.l     [A6 - 0x4A], [A6 + 0x12]
  9097. 000059C0  2D6E 000E FF98           move.l     [A6 - 0x68], [A6 + 0xE]
  9098. 000059C6  422E FFA0                clr.b      [A6 - 0x60]
  9099. 000059CA  1D6E 000C FFA1           move.b     [A6 - 0x5F], [A6 + 0xC]
  9100. 000059D0  7000                     moveq.l    D0, 0x00
  9101. 000059D2  2D40 FFA2                move.l     [A6 - 0x5E], D0
  9102. 000059D6  558F                     subq.l     A7, 2
  9103. 000059D8  486E FF86                pea.l      [A6 - 0x7A]
  9104. 000059DC  7200                     moveq.l    D1, 0x00
  9105. 000059DE  1F01                     move.b     -[A7], D1
  9106. 000059E0  4EBA FE62                jsr        [PC - 0x19E /* 00005844 */]
  9107. 000059E4  3E1F                     move.w     D7, [A7]+
  9108. 000059E6  206E 0008                movea.l    A0, [A6 + 0x8]
  9109. 000059EA  30AE FF9E                move.w     [A0], [A6 - 0x62]
  9110. 000059EE  3D47 0018                move.w     [A6 + 0x18], D7
  9111. 000059F2  2E2E FF82                move.l     D7, [A6 - 0x7E]
  9112. 000059F6  4E5E                     unlink     A6
  9113. 000059F8  205F                     movea.l    A0, [A7]+
  9114. 000059FA  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9115. 000059FE  4ED0                     jmp        [A0]
  9116. 00005A00  8548 4F50                pack       -[A2], -[A0], 0x4F50
  9117. 00005A04  454E                     chk.w      D2, A6
  9118. 00005A06  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  9119. // begin alternate branch 00005A08-00005A0C
  9120. fn00005A08:
  9121. 00005A08  4E56 FF86                link       A6, -0x007A
  9122. // end alternate branch 00005A08-00005A0C
  9123. fn00005A08: // (misaligned)
  9124. 00005A0A  FF86                     .invalid   <<F/6/7>>
  9125. 00005A0C  48E7 0300                movem.l    -[A7], D6,D7
  9126. 00005A10  2C2E 0014                move.l     D6, [A6 + 0x14]
  9127. 00005A14  3D6E 0018 FF9C           move.w     [A6 - 0x64], [A6 + 0x18]
  9128. 00005A1A  2D46 FFB6                move.l     [A6 - 0x4A], D6
  9129. 00005A1E  2D6E 0010 FF98           move.l     [A6 - 0x68], [A6 + 0x10]
  9130. 00005A24  422E FFA0                clr.b      [A6 - 0x60]
  9131. 00005A28  558F                     subq.l     A7, 2
  9132. 00005A2A  486E FF86                pea.l      [A6 - 0x7A]
  9133. 00005A2E  7000                     moveq.l    D0, 0x00
  9134. 00005A30  1F00                     move.b     -[A7], D0
  9135. 00005A32  4EBA FE22                jsr        [PC - 0x1DE /* 00005856 */]
  9136. 00005A36  3E1F                     move.w     D7, [A7]+
  9137. 00005A38  6636                     bne        +0x38 /* 00005A70 */
  9138. 00005A3A  426E FFA2                clr.w      [A6 - 0x5E]
  9139. 00005A3E  558F                     subq.l     A7, 2
  9140. 00005A40  486E FF86                pea.l      [A6 - 0x7A]
  9141. 00005A44  7000                     moveq.l    D0, 0x00
  9142. 00005A46  1F00                     move.b     -[A7], D0
  9143. 00005A48  4EBA FE42                jsr        [PC - 0x1BE /* 0000588C */]
  9144. 00005A4C  3E1F                     move.w     D7, [A7]+
  9145. 00005A4E  6620                     bne        +0x22 /* 00005A70 */
  9146. 00005A50  2D6E 000C FFAA           move.l     [A6 - 0x56], [A6 + 0xC]
  9147. 00005A56  2D6E 0008 FFA6           move.l     [A6 - 0x5A], [A6 + 0x8]
  9148. 00005A5C  2D46 FFB6                move.l     [A6 - 0x4A], D6
  9149. 00005A60  558F                     subq.l     A7, 2
  9150. 00005A62  486E FF86                pea.l      [A6 - 0x7A]
  9151. 00005A66  7000                     moveq.l    D0, 0x00
  9152. 00005A68  1F00                     move.b     -[A7], D0
  9153. 00005A6A  4EBA FE32                jsr        [PC - 0x1CE /* 0000589E */]
  9154. 00005A6E  3E1F                     move.w     D7, [A7]+
  9155. label00005A70:
  9156. 00005A70  3D47 001A                move.w     [A6 + 0x1A], D7
  9157. 00005A74  4CEE 00C0 FF7E           movem.l    D6,D7, [A6 - 0x82]
  9158. 00005A7A  4E5E                     unlink     A6
  9159. 00005A7C  205F                     movea.l    A0, [A7]+
  9160. 00005A7E  4FEF 0012                lea.l      A7, [A7 + 0x12]
  9161. 00005A82  4ED0                     jmp        [A0]
  9162. 00005A84  8748 4352                pack       -[A3], -[A0], 0x4352
  9163. 00005A88  4541                     chk.w      D2, D1
  9164. 00005A8A  5445                     addq.w     D5, 2
  9165. 00005A8C  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  9166. // begin alternate branch 00005A8E-00005A92
  9167. fn00005A8E:
  9168. 00005A8E  4E56 FF86                link       A6, -0x007A
  9169. // end alternate branch 00005A8E-00005A92
  9170. fn00005A8E: // (misaligned)
  9171. 00005A90  FF86                     .invalid   <<F/6/7>>
  9172. 00005A92  3D6E 0010 FF9C           move.w     [A6 - 0x64], [A6 + 0x10]
  9173. 00005A98  2D6E 000C FFB6           move.l     [A6 - 0x4A], [A6 + 0xC]
  9174. 00005A9E  2D6E 0008 FF98           move.l     [A6 - 0x68], [A6 + 0x8]
  9175. 00005AA4  422E FFA0                clr.b      [A6 - 0x60]
  9176. 00005AA8  558F                     subq.l     A7, 2
  9177. 00005AAA  486E FF86                pea.l      [A6 - 0x7A]
  9178. 00005AAE  7000                     moveq.l    D0, 0x00
  9179. 00005AB0  1F00                     move.b     -[A7], D0
  9180. 00005AB2  4EBA FDB4                jsr        [PC - 0x24C /* 00005868 */]
  9181. 00005AB6  3D5F 0012                move.w     [A6 + 0x12], [A7]+
  9182. 00005ABA  4E5E                     unlink     A6
  9183. 00005ABC  205F                     movea.l    A0, [A7]+
  9184. 00005ABE  4FEF 000A                lea.l      A7, [A7 + 0xA]
  9185. 00005AC2  4ED0                     jmp        [A0]
  9186. 00005AC4  8748 4445                pack       -[A3], -[A0], 0x4445
  9187. 00005AC8  4C45 5445                movem.l    D0,D2,D6,A2,A4,A6, D5
  9188. 00005ACC  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  9189. // begin alternate branch 00005ACE-00005AD2
  9190. fn00005ACE:
  9191. 00005ACE  4E56 FF86                link       A6, -0x007A
  9192. // end alternate branch 00005ACE-00005AD2
  9193. fn00005ACE: // (misaligned)
  9194. 00005AD0  FF86                     .invalid   <<F/6/7>>
  9195. 00005AD2  2F07                     move.l     -[A7], D7
  9196. 00005AD4  3D6E 0014 FF9C           move.w     [A6 - 0x64], [A6 + 0x14]
  9197. 00005ADA  2D6E 0010 FFB6           move.l     [A6 - 0x4A], [A6 + 0x10]
  9198. 00005AE0  2D6E 000C FF98           move.l     [A6 - 0x68], [A6 + 0xC]
  9199. 00005AE6  422E FFA0                clr.b      [A6 - 0x60]
  9200. 00005AEA  426E FFA2                clr.w      [A6 - 0x5E]
  9201. 00005AEE  558F                     subq.l     A7, 2
  9202. 00005AF0  486E FF86                pea.l      [A6 - 0x7A]
  9203. 00005AF4  7000                     moveq.l    D0, 0x00
  9204. 00005AF6  1F00                     move.b     -[A7], D0
  9205. 00005AF8  4EBA FD92                jsr        [PC - 0x26E /* 0000588C */]
  9206. 00005AFC  3E1F                     move.w     D7, [A7]+
  9207. 00005AFE  206E 0008                movea.l    A0, [A6 + 0x8]
  9208. 00005B02  43EE FFA6                lea.l      A1, [A6 - 0x5A]
  9209. 00005B06  20D9                     move.l     [A0]+, [A1]+
  9210. 00005B08  20D9                     move.l     [A0]+, [A1]+
  9211. 00005B0A  20D9                     move.l     [A0]+, [A1]+
  9212. 00005B0C  20D9                     move.l     [A0]+, [A1]+
  9213. 00005B0E  3D47 0016                move.w     [A6 + 0x16], D7
  9214. 00005B12  2E2E FF82                move.l     D7, [A6 - 0x7E]
  9215. 00005B16  4E5E                     unlink     A6
  9216. 00005B18  205F                     movea.l    A0, [A7]+
  9217. 00005B1A  4FEF 000E                lea.l      A7, [A7 + 0xE]
  9218. 00005B1E  4ED0                     jmp        [A0]
  9219. 00005B20  8948 4745                pack       -[A4], -[A0], 0x4745
  9220. 00005B24  5446                     addq.w     D6, 2
  9221. 00005B26  494E                     chk.w      D4, A6
  9222. 00005B28  464F                     not.w      A7
  9223. 00005B2A  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  9224. // begin alternate branch 00005B2C-00005B30
  9225. fn00005B2C:
  9226. 00005B2C  4E56 FF86                link       A6, -0x007A
  9227. // end alternate branch 00005B2C-00005B30
  9228. fn00005B2C: // (misaligned)
  9229. 00005B2E  FF86                     .invalid   <<F/6/7>>
  9230. 00005B30  3D6E 0010 FF9C           move.w     [A6 - 0x64], [A6 + 0x10]
  9231. 00005B36  2D6E 000C FFB6           move.l     [A6 - 0x4A], [A6 + 0xC]
  9232. 00005B3C  2D6E 0008 FF98           move.l     [A6 - 0x68], [A6 + 0x8]
  9233. 00005B42  422E FFA0                clr.b      [A6 - 0x60]
  9234. 00005B46  558F                     subq.l     A7, 2
  9235. 00005B48  486E FF86                pea.l      [A6 - 0x7A]
  9236. 00005B4C  7000                     moveq.l    D0, 0x00
  9237. 00005B4E  1F00                     move.b     -[A7], D0
  9238. 00005B50  4EBA FD28                jsr        [PC - 0x2D8 /* 0000587A */]
  9239. 00005B54  3D5F 0012                move.w     [A6 + 0x12], [A7]+
  9240. 00005B58  4E5E                     unlink     A6
  9241. 00005B5A  205F                     movea.l    A0, [A7]+
  9242. 00005B5C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  9243. 00005B60  4ED0                     jmp        [A0]
  9244. 00005B62  8948 5253                pack       -[A4], -[A0], 0x5253
  9245. 00005B66  5446                     addq.w     D6, 2
  9246. 00005B68  4C4F 434B                movem.l    D0,D1,D3,D6,A0,A1,A6, A7
  9247. 00005B6C  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  9248. export_99: // at 00005B6E (misaligned)
  9249. 00005B70  FFCC                     .invalid   <<F/7/7>>
  9250. 00005B72  2F07                     move.l     -[A7], D7
  9251. 00005B74  3D6E 0014 FFE2           move.w     [A6 - 0x1E], [A6 + 0x14]
  9252. 00005B7A  426E FFE6                clr.w      [A6 - 0x1A]
  9253. 00005B7E  7000                     moveq.l    D0, 0x00
  9254. 00005B80  2D40 FFDE                move.l     [A6 - 0x22], D0
  9255. 00005B84  558F                     subq.l     A7, 2
  9256. 00005B86  486E FFCC                pea.l      [A6 - 0x34]
  9257. 00005B8A  7200                     moveq.l    D1, 0x00
  9258. 00005B8C  1F01                     move.b     -[A7], D1
  9259. 00005B8E  4EBA FC72                jsr        [PC - 0x38E /* 00005802 */]
  9260. 00005B92  3E1F                     move.w     D7, [A7]+
  9261. 00005B94  206E 0010                movea.l    A0, [A6 + 0x10]
  9262. 00005B98  30AE FFEC                move.w     [A0], [A6 - 0x14]
  9263. 00005B9C  206E 000C                movea.l    A0, [A6 + 0xC]
  9264. 00005BA0  20AE FFFC                move.l     [A0], [A6 - 0x4]
  9265. 00005BA4  206E 0008                movea.l    A0, [A6 + 0x8]
  9266. 00005BA8  20AE FFE8                move.l     [A0], [A6 - 0x18]
  9267. 00005BAC  3D47 0016                move.w     [A6 + 0x16], D7
  9268. 00005BB0  2E2E FFC8                move.l     D7, [A6 - 0x38]
  9269. 00005BB4  4E5E                     unlink     A6
  9270. 00005BB6  205F                     movea.l    A0, [A7]+
  9271. 00005BB8  4FEF 000E                lea.l      A7, [A7 + 0xE]
  9272. 00005BBC  4ED0                     jmp        [A0]
  9273. 00005BBE  8947 4554                pack       D4, D7, 0x4554
  9274. 00005BC2  5744                     subq.w     D4, 3
  9275. 00005BC4  494E                     chk.w      D4, A6
  9276. 00005BC6  464F                     not.w      A7
  9277. 00005BC8  0000 206F                ori.b      D0, 0x6F /* 'o' */
  9278. export_100: // at 00005BCA (misaligned)
  9279. 00005BCC  0004 2050                ori.b      D4, 0x50 /* 'P' */
  9280. 00005BD0  A9E1                     syscall    HandToHand
  9281. 00005BD2  226F 0004                movea.l    A1, [A7 + 0x4]
  9282. 00005BD6  2288                     move.l     [A1], A0
  9283. 00005BD8  3F40 0008                move.w     [A7 + 0x8], D0
  9284. 00005BDC  2E9F                     move.l     [A7], [A7]+
  9285. 00005BDE  4E75                     rts
  9286. export_101:
  9287. fn00005BE0:
  9288. 00005BE0  4E56 0000                link       A6, 0
  9289. 00005BE4  594F                     subq.w     A7, 4
  9290. 00005BE6  2F3C 5354 5223           move.l     -[A7], 0x53545223 /* 'STR#' */
  9291. 00005BEC  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  9292. 00005BF0  A9A0                     syscall    GetResource
  9293. 00005BF2  226E 000C                movea.l    A1, [A6 + 0xC]
  9294. 00005BF6  4211                     clr.b      [A1]
  9295. 00005BF8  201F                     move.l     D0, [A7]+
  9296. 00005BFA  6722                     beq        +0x24 /* 00005C1E */
  9297. 00005BFC  2040                     movea.l    A0, D0
  9298. 00005BFE  2050                     movea.l    A0, [A0]
  9299. 00005C00  3018                     move.w     D0, [A0]+
  9300. 00005C02  322E 0008                move.w     D1, [A6 + 0x8]
  9301. 00005C06  6716                     beq        +0x18 /* 00005C1E */
  9302. 00005C08  B240                     cmp.w      D1, D0
  9303. 00005C0A  6212                     bhi        +0x14 /* 00005C1E */
  9304. 00005C0C  7000                     moveq.l    D0, 0x00
  9305. label00005C0E:
  9306. 00005C0E  5341                     subq.w     D1, 1
  9307. 00005C10  6706                     beq        +0x8 /* 00005C18 */
  9308. 00005C12  1018                     move.b     D0, [A0]+
  9309. 00005C14  D1C0                     add.l      A0, D0
  9310. 00005C16  60F6                     bra        -0x8 /* 00005C0E */
  9311. label00005C18:
  9312. 00005C18  1010                     move.b     D0, [A0]
  9313. 00005C1A  5240                     addq.w     D0, 1
  9314. 00005C1C  A02E                     syscall    BlockMove/BlockMoveData
  9315. label00005C1E:
  9316. 00005C1E  4E5E                     unlink     A6
  9317. 00005C20  205F                     movea.l    A0, [A7]+
  9318. 00005C22  508F                     addq.l     A7, 8
  9319. 00005C24  4ED0                     jmp        [A0]
  9320. export_102:
  9321. 00005C26  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  9322. 00005C2A  6B22                     bmi        +0x24 /* 00005C4E */
  9323. 00005C2C  303C 0090                move.w     D0, 0x90
  9324. 00005C30  A346                     syscall    GetOSTrapAddress, flags=3
  9325. 00005C32  2248                     movea.l    A1, A0
  9326. 00005C34  303C 009F                move.w     D0, 0x9F
  9327. 00005C38  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  9328. 00005C3A  B3C8                     cmpa.l     A1, A0
  9329. 00005C3C  6710                     beq        +0x12 /* 00005C4E */
  9330. 00005C3E  225F                     movea.l    A1, [A7]+
  9331. 00005C40  205F                     movea.l    A0, [A7]+
  9332. 00005C42  301F                     move.w     D0, [A7]+
  9333. 00005C44  2F09                     move.l     -[A7], A1
  9334. 00005C46  A090                     syscall    SysEnvirons
  9335. 00005C48  3F40 0004                move.w     [A7 + 0x4], D0
  9336. 00005C4C  4E75                     rts
  9337. label00005C4E:
  9338. 00005C4E  206F 0004                movea.l    A0, [A7 + 0x4]
  9339. 00005C52  303C 0001                move.w     D0, 0x1
  9340. 00005C56  2248                     movea.l    A1, A0
  9341. 00005C58  6006                     bra        +0x8 /* 00005C60 */
  9342. 00005C5A  0313                     btst       [A3], D1
  9343. 00005C5C  0B02                     btst       D2, D5
  9344. 00005C5E  0100                     btst       D0, D0
  9345. label00005C60:
  9346. 00005C60  303C 0010                move.w     D0, 0x10
  9347. 00005C64  E240                     asr        D0.w, 1
  9348. 00005C66  5340                     subq.w     D0, 1
  9349. label00005C68:
  9350. 00005C68  4258                     clr.w      [A0]+
  9351. 00005C6A  51C8 FFFC                dbf        D0, -0x6 /* 00005C68 */
  9352. 00005C6E  32BC 0001                move.w     [A1], 0x1
  9353. 00005C72  2078 02AE                movea.l    A0, [0x000002AE /* ROMBase */]
  9354. 00005C76  337C FFFE 0002           move.w     [A1 + 0x2], 0xFFFE
  9355. 00005C7C  0C28 00FF 0009           cmpi.b     [A0 + 0x9], 0xFF
  9356. 00005C82  6742                     beq        +0x44 /* 00005CC6 */
  9357. 00005C84  4A28 0008                tst.b      [A0 + 0x8]
  9358. 00005C88  6E20                     bgt        +0x22 /* 00005CAA */
  9359. 00005C8A  337C FFFF 0002           move.w     [A1 + 0x2], 0xFFFF
  9360. 00005C90  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  9361. 00005C94  6B30                     bmi        +0x32 /* 00005CC6 */
  9362. 00005C96  337C 0001 0002           move.w     [A1 + 0x2], 0x1
  9363. 00005C9C  4A78 0B22                tst.w      [0x00000B22 /* HWCfgFlags */]
  9364. 00005CA0  6A24                     bpl        +0x26 /* 00005CC6 */
  9365. 00005CA2  337C 0002 0002           move.w     [A1 + 0x2], 0x2
  9366. 00005CA8  601C                     bra        +0x1E /* 00005CC6 */
  9367. label00005CAA:
  9368. 00005CAA  4269 0002                clr.w      [A1 + 0x2]
  9369. 00005CAE  0C28 0002 0008           cmpi.b     [A0 + 0x8], 0x2
  9370. 00005CB4  6E10                     bgt        +0x12 /* 00005CC6 */
  9371. 00005CB6  6708                     beq        +0xA /* 00005CC0 */
  9372. 00005CB8  337C 0004 0002           move.w     [A1 + 0x2], 0x4
  9373. 00005CBE  6006                     bra        +0x8 /* 00005CC6 */
  9374. label00005CC0:
  9375. 00005CC0  337C 0003 0002           move.w     [A1 + 0x2], 0x3
  9376. label00005CC6:
  9377. 00005CC6  4269 0004                clr.w      [A1 + 0x4]
  9378. 00005CCA  0C38 0002 012F           cmpi.b     [0x0000012F /* CPUFlag */], 0x2
  9379. 00005CD0  6E0A                     bgt        +0xC /* 00005CDC */
  9380. 00005CD2  1038 012F                move.b     D0, [0x0000012F /* CPUFlag */]
  9381. 00005CD6  5240                     addq.w     D0, 1
  9382. 00005CD8  1340 0007                move.b     [A1 + 0x7], D0
  9383. label00005CDC:
  9384. 00005CDC  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  9385. 00005CE0  6B0E                     bmi        +0x10 /* 00005CF0 */
  9386. 00005CE2  0838 0004 0B22           btst.b     [0x00000B22 /* HWCfgFlags */], 0x4
  9387. 00005CE8  6706                     beq        +0x8 /* 00005CF0 */
  9388. 00005CEA  137C 0001 0008           move.b     [A1 + 0x8], 0x1
  9389. label00005CF0:
  9390. 00005CF0  0C78 3FFF 028E           cmpi.w     [0x0000028E /* ROM85 */], 0x3FFF
  9391. 00005CF6  6206                     bhi        +0x8 /* 00005CFE */
  9392. 00005CF8  137C 0001 0009           move.b     [A1 + 0x9], 0x1
  9393. label00005CFE:
  9394. 00005CFE  1038 021E                move.b     D0, [0x0000021E /* KbdType */]
  9395. 00005D02  41FA FF5B                lea.l      A0, [PC - 0xA5 /* 00005C5F, value 0x303C00 '0<\0', cstring "" */]
  9396. 00005D06  323C 0004                move.w     D1, 0x4
  9397. label00005D0A:
  9398. 00005D0A  B020                     cmp.b      D0, -[A0]
  9399. 00005D0C  57C9 FFFC                dbeq       D1, -0x6 /* 00005D0A */
  9400. 00005D10  5241                     addq.w     D1, 1
  9401. 00005D12  3341 000A                move.w     [A1 + 0xA], D1
  9402. 00005D16  4A38 0291                tst.b      [0x00000291 /* PortBUse */]
  9403. 00005D1A  6B18                     bmi        +0x1A /* 00005D34 */
  9404. 00005D1C  1238 01FB                move.b     D1, [0x000001FB /* SPConfig */]
  9405. 00005D20  0201 000F                andi.b     D1, 0xF
  9406. 00005D24  0C01 0001                cmpi.b     D1, 0x1
  9407. 00005D28  660A                     bne        +0xC /* 00005D34 */
  9408. 00005D2A  2078 02DC                movea.l    A0, [0x000002DC /* ABusDCE */]
  9409. 00005D2E  1368 0007 000D           move.b     [A1 + 0xD], [A0 + 0x7]
  9410. label00005D34:
  9411. 00005D34  3378 0210 000E           move.w     [A1 + 0xE], [0x00000210 /* BootDrive */]
  9412. 00005D3A  4A78 03F6                tst.w      [0x000003F6 /* FSFCBLen */]
  9413. 00005D3E  6D44                     blt        +0x46 /* 00005D84 */
  9414. 00005D40  4269 000E                clr.w      [A1 + 0xE]
  9415. 00005D44  323C 003C                move.w     D1, 0x3C /* '<' */
  9416. label00005D48:
  9417. 00005D48  4267                     clr.w      -[A7]
  9418. 00005D4A  51C9 FFFC                dbf        D1, -0x6 /* 00005D48 */
  9419. 00005D4E  204F                     movea.l    A0, A7
  9420. 00005D50  3178 0A58 0018           move.w     [A0 + 0x18], [0x00000A58 /* SysMap */]
  9421. 00005D56  7008                     moveq.l    D0, 0x08
  9422. 00005D58  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  9423. 00005D5A  6624                     bne        +0x26 /* 00005D80 */
  9424. 00005D5C  3168 0034 0016           move.w     [A0 + 0x16], [A0 + 0x34]
  9425. 00005D62  A207                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
  9426. 00005D64  661A                     bne        +0x1C /* 00005D80 */
  9427. 00005D66  2168 005A 0030           move.l     [A0 + 0x30], [A0 + 0x5A]
  9428. 00005D6C  217C 4552 494B 001C      move.l     [A0 + 0x1C], 0x4552494B /* 'ERIK' */
  9429. 00005D74  7001                     moveq.l    D0, 0x01
  9430. 00005D76  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  9431. 00005D78  6606                     bne        +0x8 /* 00005D80 */
  9432. 00005D7A  3368 0016 000E           move.w     [A1 + 0xE], [A0 + 0x16]
  9433. label00005D80:
  9434. 00005D80  4FEF 007A                lea.l      A7, [A7 + 0x7A]
  9435. label00005D84:
  9436. 00005D84  2049                     movea.l    A0, A1
  9437. 00005D86  225F                     movea.l    A1, [A7]+
  9438. 00005D88  5C4F                     addq.w     A7, 6
  9439. 00005D8A  3EBC EA84                move.w     [A7], 0xEA84
  9440. 00005D8E  4ED1                     jmp        [A1]
  9441. export_103:
  9442. 00005D90  4E56 0000                link       A6, 0
  9443. 00005D94  203C 0000 A89F           move.l     D0, 0xA89F
  9444. 00005D9A  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  9445. 00005D9C  2F08                     move.l     -[A7], A0
  9446. 00005D9E  203C 0000 A0AD           move.l     D0, 0xA0AD
  9447. 00005DA4  A346                     syscall    GetOSTrapAddress, flags=3
  9448. 00005DA6  B1DF                     cmpa.l     A0, [A7]+
  9449. 00005DA8  670E                     beq        +0x10 /* 00005DB8 */
  9450. 00005DAA  202E 000C                move.l     D0, [A6 + 0xC]
  9451. 00005DAE  A1AD                     syscall    Gestalt, flags=1
  9452. 00005DB0  226E 0008                movea.l    A1, [A6 + 0x8]
  9453. 00005DB4  2288                     move.l     [A1], A0
  9454. 00005DB6  6026                     bra        +0x28 /* 00005DDE */
  9455. label00005DB8:
  9456. 00005DB8  41FA 0036                lea.l      A0, [PC + 0x36 /* 00005DF0, value 0x76657273 'vers', cstring "vers" */]
  9457. 00005DBC  303C EA51                move.w     D0, 0xEA51
  9458. 00005DC0  222E 000C                move.l     D1, [A6 + 0xC]
  9459. label00005DC4:
  9460. 00005DC4  B298                     cmp.l      D1, [A0]+
  9461. 00005DC6  6706                     beq        +0x8 /* 00005DCE */
  9462. 00005DC8  4A98                     tst.l      [A0]+
  9463. 00005DCA  6712                     beq        +0x14 /* 00005DDE */
  9464. 00005DCC  60F6                     bra        -0x8 /* 00005DC4 */
  9465. label00005DCE:
  9466. 00005DCE  43FA 0020                lea.l      A1, [PC + 0x20 /* 00005DF0, value 0x76657273 'vers', cstring "vers" */]
  9467. 00005DD2  D3D0                     add.l      A1, [A0]
  9468. 00005DD4  4ED1                     jmp        [A1]
  9469. label00005DD6:
  9470. 00005DD6  226E 0008                movea.l    A1, [A6 + 0x8]
  9471. 00005DDA  2280                     move.l     [A1], D0
  9472. 00005DDC  4240                     clr.w      D0
  9473. label00005DDE:
  9474. 00005DDE  3D40 0010                move.w     [A6 + 0x10], D0
  9475. 00005DE2  4E5E                     unlink     A6
  9476. 00005DE4  205F                     movea.l    A0, [A7]+
  9477. 00005DE6  508F                     addq.l     A7, 8
  9478. 00005DE8  4ED0                     jmp        [A0]
  9479. label00005DEA:
  9480. 00005DEA  303C EA52                move.w     D0, 0xEA52
  9481. 00005DEE  60EE                     bra        -0x10 /* 00005DDE */
  9482. 00005DF0  7665                     moveq.l    D3, 0x65
  9483. 00005DF2  7273                     moveq.l    D1, 0x73
  9484. 00005DF4  0000 0060                ori.b      D0, 0x60 /* '`' */
  9485. 00005DF8  6D61                     blt        +0x63 /* 00005E5B */
  9486. 00005DFA  6368                     bls        +0x6A /* 00005E64 */
  9487. 00005DFC  0000 0064                ori.b      D0, 0x64 /* 'd' */
  9488. 00005E00  7379                     moveq.l    D1, 0x79
  9489. 00005E02  7376                     moveq.l    D1, 0x76
  9490. 00005E04  0000 0088                ori.b      D0, 0x88
  9491. 00005E08  7072                     moveq.l    D0, 0x72
  9492. 00005E0A  6F63                     ble        +0x65 /* 00005E6F */
  9493. 00005E0C  0000 0092                ori.b      D0, 0x92
  9494. 00005E10  6670                     bne        +0x72 /* 00005E82 */
  9495. 00005E12  7520                     moveq.l    D2, 0x20
  9496. 00005E14  0000 009E                ori.b      D0, 0x9E
  9497. 00005E18  7164                     moveq.l    D0, 0x64
  9498. 00005E1A  2020                     move.l     D0, -[A0]
  9499. 00005E1C  0000 00E8                ori.b      D0, 0xE8
  9500. 00005E20  6B62                     bmi        +0x64 /* 00005E84 */
  9501. 00005E22  6420                     bcc        +0x22 /* 00005E44 */
  9502. 00005E24  0000 011A                ori.b      D0, 0x1A
  9503. 00005E28  6174                     bsr        +0x76 /* 00005E9E */
  9504. 00005E2A  6C6B                     bge        +0x6D /* 00005E97 */
  9505. 00005E2C  0000 0142                ori.b      D0, 0x42 /* 'B' */
  9506. 00005E30  6D6D                     blt        +0x6F /* 00005E9F */
  9507. 00005E32  7520                     moveq.l    D2, 0x20
  9508. 00005E34  0000 0164                ori.b      D0, 0x64 /* 'd' */
  9509. 00005E38  7261                     moveq.l    D1, 0x61
  9510. 00005E3A  6D20                     blt        +0x22 /* 00005E5C */
  9511. 00005E3C  0000 0188                ori.b      D0, 0x88
  9512. 00005E40  6C72                     bge        +0x74 /* 00005EB4 */
  9513. 00005E42  616D                     bsr        +0x6F /* 00005EB1 */
  9514. label00005E44:
  9515. 00005E44  0000 0188                ori.b      D0, 0x88
  9516. 00005E48  0000 0000                ori.b      D0, 0x0
  9517. 00005E4C  0000 0000                ori.b      D0, 0x0
  9518. 00005E50  7001                     moveq.l    D0, 0x01
  9519. 00005E52  6082                     bra        -0x7C /* 00005DD6 */
  9520. 00005E54  2278 02AE                movea.l    A1, [0x000002AE /* ROMBase */]
  9521. 00005E58  7004                     moveq.l    D0, 0x04
  9522. 00005E5A  0C69 0075 0008           cmpi.w     [A1 + 0x8], 0x75 /* 'u' */
  9523. // begin alternate branch 00005E5C-00005E64
  9524. label00005E5C:
  9525. 00005E5C  0075 0008 6712 0C69      ori.w      [[A5 + D6 * 8] + 0xC69], 0x8
  9526. // end alternate branch 00005E5C-00005E64
  9527. label00005E5C: // (misaligned)
  9528. 00005E60  6712                     beq        +0x14 /* 00005E74 */
  9529. 00005E62  0C69 0276 0008           cmpi.w     [A1 + 0x8], 0x276
  9530. // begin alternate branch 00005E64-00005E6A
  9531. label00005E64:
  9532. 00005E64  0276 0008 6604           andi.w     [A6 + D6.w * 8 + 0x4], 0x8
  9533. // end alternate branch 00005E64-00005E6A
  9534. label00005E64: // (misaligned)
  9535. 00005E68  6604                     bne        +0x6 /* 00005E6E */
  9536. 00005E6A  5240                     addq.w     D0, 1
  9537. 00005E6C  6006                     bra        +0x8 /* 00005E74 */
  9538. label00005E6E:
  9539. 00005E6E  1038 0CB3                move.b     D0, [0x00000CB3 /* MMUFluff/MachineType */]
  9540. 00005E72  5C80                     addq.l     D0, 6
  9541. label00005E74:
  9542. 00005E74  6000 FF60                bra        -0x9E /* 00005DD6 */
  9543. 00005E78  7000                     moveq.l    D0, 0x00
  9544. 00005E7A  3038 015A                move.w     D0, [0x0000015A /* SysVersion */]
  9545. 00005E7E  6000 FF56                bra        -0xA8 /* 00005DD6 */
  9546. label00005E82:
  9547. 00005E82  7000                     moveq.l    D0, 0x00
  9548. label00005E84:
  9549. 00005E84  1038 012F                move.b     D0, [0x0000012F /* CPUFlag */]
  9550. 00005E88  5240                     addq.w     D0, 1
  9551. 00005E8A  6000 FF4A                bra        -0xB4 /* 00005DD6 */
  9552. 00005E8E  0C38 0004 012F           cmpi.b     [0x0000012F /* CPUFlag */], 0x4
  9553. 00005E94  6738                     beq        +0x3A /* 00005ECE */
  9554. 00005E96  0838 0004 0B22           btst.b     [0x00000B22 /* HWCfgFlags */], 0x4
  9555. 00005E9C  6734                     beq        +0x36 /* 00005ED2 */
  9556. fn00005E9E:
  9557. 00005E9E  204F                     movea.l    A0, A7
  9558. 00005EA0  F280 0000                fnop
  9559. 00005EA4  F327                     .extension 0x327 <<F/4-5/1>> // unimplemented
  9560. 00005EA6  3017                     move.w     D0, [A7]
  9561. 00005EA8  2E48                     movea.l    A7, A0
  9562. 00005EAA  0C40 1F18                cmpi.w     D0, 0x1F18
  9563. 00005EAE  6716                     beq        +0x18 /* 00005EC6 */
  9564. 00005EB0  0C40 3F18                cmpi.w     D0, 0x3F18
  9565. label00005EB4:
  9566. 00005EB4  6710                     beq        +0x12 /* 00005EC6 */
  9567. 00005EB6  0C40 3F38                cmpi.w     D0, 0x3F38 /* '?8' */
  9568. 00005EBA  670E                     beq        +0x10 /* 00005ECA */
  9569. 00005EBC  0C40 1F38                cmpi.w     D0, 0x1F38
  9570. 00005EC0  6708                     beq        +0xA /* 00005ECA */
  9571. 00005EC2  7000                     moveq.l    D0, 0x00
  9572. 00005EC4  600E                     bra        +0x10 /* 00005ED4 */
  9573. label00005EC6:
  9574. 00005EC6  7001                     moveq.l    D0, 0x01
  9575. 00005EC8  600A                     bra        +0xC /* 00005ED4 */
  9576. label00005ECA:
  9577. 00005ECA  7002                     moveq.l    D0, 0x02
  9578. 00005ECC  6006                     bra        +0x8 /* 00005ED4 */
  9579. label00005ECE:
  9580. 00005ECE  7003                     moveq.l    D0, 0x03
  9581. 00005ED0  6002                     bra        +0x4 /* 00005ED4 */
  9582. label00005ED2:
  9583. 00005ED2  7000                     moveq.l    D0, 0x00
  9584. label00005ED4:
  9585. 00005ED4  6000 FF00                bra        -0xFE /* 00005DD6 */
  9586. 00005ED8  0C78 3FFF 028E           cmpi.w     [0x0000028E /* ROM85 */], 0x3FFF
  9587. 00005EDE  6E1C                     bgt        +0x1E /* 00005EFC */
  9588. 00005EE0  303C A89F                move.w     D0, 0xA89F
  9589. 00005EE4  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  9590. 00005EE6  2408                     move.l     D2, A0
  9591. 00005EE8  203C 0000 AB03           move.l     D0, 0xAB03
  9592. 00005EEE  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  9593. 00005EF0  203C 0000 0100           move.l     D0, 0x100
  9594. 00005EF6  B488                     cmp.l      D2, A0
  9595. 00005EF8  6606                     bne        +0x8 /* 00005F00 */
  9596. 00005EFA  600A                     bra        +0xC /* 00005F06 */
  9597. label00005EFC:
  9598. 00005EFC  7000                     moveq.l    D0, 0x00
  9599. 00005EFE  6006                     bra        +0x8 /* 00005F06 */
  9600. label00005F00:
  9601. 00005F00  203C 0000 0200           move.l     D0, 0x200
  9602. label00005F06:
  9603. 00005F06  6000 FECE                bra        -0x130 /* 00005DD6 */
  9604. 00005F0A  1038 021E                move.b     D0, [0x0000021E /* KbdType */]
  9605. 00005F0E  41FA 0016                lea.l      A0, [PC + 0x16 /* 00005F26, value 0x3130B02 */]
  9606. 00005F12  2248                     movea.l    A1, A0
  9607. label00005F14:
  9608. 00005F14  1218                     move.b     D1, [A0]+
  9609. 00005F16  6700 FED2                beq        -0x12C /* 00005DEA */
  9610. 00005F1A  B200                     cmp.b      D1, D0
  9611. 00005F1C  66F6                     bne        -0x8 /* 00005F14 */
  9612. 00005F1E  91C9                     sub.l      A0, A1
  9613. 00005F20  2008                     move.l     D0, A0
  9614. 00005F22  6000 FEB2                bra        -0x14C /* 00005DD6 */
  9615. 00005F26  0313                     btst       [A3], D1
  9616. 00005F28  0B02                     btst       D2, D5
  9617. 00005F2A  0106                     btst       D6, D0
  9618. 00005F2C  0704                     btst       D4, D3
  9619. 00005F2E  0508                     btst       A0, D2
  9620. 00005F30  0900                     btst       D0, D4
  9621. 00005F32  7000                     moveq.l    D0, 0x00
  9622. 00005F34  4A38 0291                tst.b      [0x00000291 /* PortBUse */]
  9623. 00005F38  6B16                     bmi        +0x18 /* 00005F50 */
  9624. 00005F3A  1238 01FB                move.b     D1, [0x000001FB /* SPConfig */]
  9625. 00005F3E  0201 000F                andi.b     D1, 0xF
  9626. 00005F42  0C01 0001                cmpi.b     D1, 0x1
  9627. 00005F46  6608                     bne        +0xA /* 00005F50 */
  9628. 00005F48  2078 02DC                movea.l    A0, [0x000002DC /* ABusDCE */]
  9629. 00005F4C  1028 0007                move.b     D0, [A0 + 0x7]
  9630. label00005F50:
  9631. 00005F50  6000 FE84                bra        -0x17A /* 00005DD6 */
  9632. 00005F54  0C38 0002 012F           cmpi.b     [0x0000012F /* CPUFlag */], 0x2
  9633. 00005F5A  6D16                     blt        +0x18 /* 00005F72 */
  9634. 00005F5C  7000                     moveq.l    D0, 0x00
  9635. 00005F5E  1038 0CB1                move.b     D0, [0x00000CB1 /* MMUType */]
  9636. 00005F62  0C00 0001                cmpi.b     D0, 0x1
  9637. 00005F66  670C                     beq        +0xE /* 00005F74 */
  9638. 00005F68  0C00 0003                cmpi.b     D0, 0x3
  9639. 00005F6C  6D04                     blt        +0x6 /* 00005F72 */
  9640. 00005F6E  5340                     subq.w     D0, 1
  9641. 00005F70  6002                     bra        +0x4 /* 00005F74 */
  9642. label00005F72:
  9643. 00005F72  7000                     moveq.l    D0, 0x00
  9644. label00005F74:
  9645. 00005F74  6000 FE60                bra        -0x19E /* 00005DD6 */
  9646. 00005F78  303C A89F                move.w     D0, 0xA89F
  9647. 00005F7C  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  9648. 00005F7E  2408                     move.l     D2, A0
  9649. 00005F80  203C 0000 A88F           move.l     D0, 0xA88F
  9650. 00005F86  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  9651. 00005F88  2038 0108                move.l     D0, [0x00000108 /* MemTop */]
  9652. 00005F8C  B488                     cmp.l      D2, A0
  9653. 00005F8E  670A                     beq        +0xC /* 00005F9A */
  9654. 00005F90  598F                     subq.l     A7, 4
  9655. 00005F92  3F3C 0016                move.w     -[A7], 0x16
  9656. 00005F96  A88F                     syscall    OSDispatch
  9657. 00005F98  201F                     move.l     D0, [A7]+
  9658. label00005F9A:
  9659. 00005F9A  6000 FE3A                bra        -0x1C4 /* 00005DD6 */
  9660. 00005F9E  7402                     moveq.l    D2, 0x02
  9661. label00005FA0:
  9662. 00005FA0  205F                     movea.l    A0, [A7]+
  9663. 00005FA2  3F02                     move.w     -[A7], D2
  9664. 00005FA4  2F08                     move.l     -[A7], A0
  9665. 00005FA6  ADE9                     syscall    Pack2, auto_pop
  9666. fn00005FA8:
  9667. 00005FA8  7400                     moveq.l    D2, 0x00
  9668. 00005FAA  4EFA FFF4                jmp        [PC - 0xC /* 00005FA0 */]
  9669. export_104:
  9670. fn00005FAE:
  9671. 00005FAE  206F 0004                movea.l    A0, [A7 + 0x4]
  9672. 00005FB2  202F 0008                move.l     D0, [A7 + 0x8]
  9673. 00005FB6  4267                     clr.w      -[A7]
  9674. 00005FB8  A9EE                     syscall    Pack7/DecStr68K
  9675. 00005FBA  205F                     movea.l    A0, [A7]+
  9676. 00005FBC  504F                     addq.w     A7, 8
  9677. 00005FBE  4ED0                     jmp        [A0]
  9678. export_105:
  9679. 00005FC0  225F                     movea.l    A1, [A7]+
  9680. 00005FC2  201F                     move.l     D0, [A7]+
  9681. 00005FC4  0838 0006 028E           btst.b     [0x0000028E /* ROM85 */], 0x6
  9682. 00005FCA  6606                     bne        +0x8 /* 00005FD2 */
  9683. 00005FCC  A055                     syscall    StripAddress
  9684. 00005FCE  2E80                     move.l     [A7], D0
  9685. 00005FD0  4ED1                     jmp        [A1]
  9686. label00005FD2:
  9687. 00005FD2  C0B8 031A                and.l      D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
  9688. 00005FD6  2E80                     move.l     [A7], D0
  9689. 00005FD8  4ED1                     jmp        [A1]
  9690. fn00005FDA:
  9691. 00005FDA  202F 0004                move.l     D0, [A7 + 0x4]
  9692. 00005FDE  2F40 0008                move.l     [A7 + 0x8], D0
  9693. 00005FE2  6726                     beq        +0x28 /* 0000600A */
  9694. 00005FE4  2040                     movea.l    A0, D0
  9695. 00005FE6  2248                     movea.l    A1, A0
  9696. 00005FE8  1019                     move.b     D0, [A1]+
  9697. 00005FEA  671E                     beq        +0x20 /* 0000600A */
  9698. label00005FEC:
  9699. 00005FEC  1211                     move.b     D1, [A1]
  9700. 00005FEE  12C0                     move.b     [A1]+, D0
  9701. 00005FF0  1001                     move.b     D0, D1
  9702. 00005FF2  66F8                     bne        -0x6 /* 00005FEC */
  9703. 00005FF4  93C8                     sub.l      A1, A0
  9704. 00005FF6  2009                     move.l     D0, A1
  9705. 00005FF8  5340                     subq.w     D0, 1
  9706. 00005FFA  0C80 0000 00FF           cmpi.l     D0, 0xFF
  9707. 00006000  6F06                     ble        +0x8 /* 00006008 */
  9708. 00006002  203C 0000 00FF           move.l     D0, 0xFF
  9709. label00006008:
  9710. 00006008  1080                     move.b     [A0], D0
  9711. label0000600A:
  9712. 0000600A  225F                     movea.l    A1, [A7]+
  9713. 0000600C  584F                     addq.w     A7, 4
  9714. 0000600E  4ED1                     jmp        [A1]
  9715. fn00006010:
  9716. 00006010  225F                     movea.l    A1, [A7]+
  9717. 00006012  201F                     move.l     D0, [A7]+
  9718. 00006014  2E80                     move.l     [A7], D0
  9719. 00006016  6712                     beq        +0x14 /* 0000602A */
  9720. 00006018  2040                     movea.l    A0, D0
  9721. 0000601A  7000                     moveq.l    D0, 0x00
  9722. 0000601C  1010                     move.b     D0, [A0]
  9723. 0000601E  6004                     bra        +0x6 /* 00006024 */
  9724. label00006020:
  9725. 00006020  10E8 0001                move.b     [A0]+, [A0 + 0x1]
  9726. label00006024:
  9727. 00006024  51C8 FFFA                dbf        D0, -0x8 /* 00006020 */
  9728. 00006028  4210                     clr.b      [A0]
  9729. label0000602A:
  9730. 0000602A  4ED1                     jmp        [A1]
  9731. 0000602C  9EFC 0032                sub.w      A7, 0x32 /* '2' */
  9732. 00006030  204F                     movea.l    A0, A7
  9733. 00006032  43FA 018E                lea.l      A1, [PC + 0x18E /* 000061C2, value 0x42E5850, pstring ".XPP" */]
  9734. 00006036  2149 0012                move.l     [A0 + 0x12], A1
  9735. 0000603A  4228 001B                clr.b      [A0 + 0x1B]
  9736. 0000603E  A000                     syscall    Open/PBHOpen/HOpen
  9737. 00006040  3228 0018                move.w     D1, [A0 + 0x18]
  9738. 00006044  4FEF 0032                lea.l      A7, [A7 + 0x32]
  9739. 00006048  205F                     movea.l    A0, [A7]+
  9740. 0000604A  225F                     movea.l    A1, [A7]+
  9741. 0000604C  3281                     move.w     [A1], D1
  9742. 0000604E  3E80                     move.w     [A7], D0
  9743. 00006050  4ED0                     jmp        [A0]
  9744. 00006052  303C 0017                move.w     D0, 0x17
  9745. 00006056  6000 0170                bra        +0x172 /* 000061C8 */
  9746. 0000605A  303C 0018                move.w     D0, 0x18
  9747. 0000605E  6000 0168                bra        +0x16A /* 000061C8 */
  9748. 00006062  303C 0019                move.w     D0, 0x19
  9749. 00006066  6000 0160                bra        +0x162 /* 000061C8 */
  9750. 0000606A  303C 00F5                move.w     D0, 0xF5
  9751. 0000606E  6000 00AC                bra        +0xAE /* 0000611C */
  9752. 00006072  303C 00F4                move.w     D0, 0xF4
  9753. 00006076  6000 00A4                bra        +0xA6 /* 0000611C */
  9754. 0000607A  303C 00F3                move.w     D0, 0xF3
  9755. 0000607E  6000 009C                bra        +0x9E /* 0000611C */
  9756. 00006082  303C 00F8                move.w     D0, 0xF8
  9757. 00006086  6000 0094                bra        +0x96 /* 0000611C */
  9758. 0000608A  303C 00F7                move.w     D0, 0xF7
  9759. 0000608E  6000 008C                bra        +0x8E /* 0000611C */
  9760. 00006092  303C 00F6                move.w     D0, 0xF6
  9761. 00006096  6000 0084                bra        +0x86 /* 0000611C */
  9762. fn0000609A:
  9763. 0000609A  303C 00FD                move.w     D0, 0xFD
  9764. 0000609E  607C                     bra        +0x7E /* 0000611C */
  9765. fn000060A0:
  9766. 000060A0  303C 00FB                move.w     D0, 0xFB
  9767. 000060A4  6076                     bra        +0x78 /* 0000611C */
  9768. fn000060A6:
  9769. 000060A6  303C 00FA                move.w     D0, 0xFA
  9770. 000060AA  6070                     bra        +0x72 /* 0000611C */
  9771. fn000060AC:
  9772. 000060AC  303C 00FC                move.w     D0, 0xFC
  9773. 000060B0  606A                     bra        +0x6C /* 0000611C */
  9774. fn000060B2:
  9775. 000060B2  303C 0100                move.w     D0, 0x100
  9776. 000060B6  6064                     bra        +0x66 /* 0000611C */
  9777. 000060B8  303C 00FE                move.w     D0, 0xFE
  9778. 000060BC  605E                     bra        +0x60 /* 0000611C */
  9779. 000060BE  303C 0102                move.w     D0, 0x102
  9780. 000060C2  6058                     bra        +0x5A /* 0000611C */
  9781. 000060C4  303C 0103                move.w     D0, 0x103
  9782. 000060C8  6052                     bra        +0x54 /* 0000611C */
  9783. fn000060CA:
  9784. 000060CA  303C 00FE                move.w     D0, 0xFE
  9785. 000060CE  6040                     bra        +0x42 /* 00006110 */
  9786. fn000060D0:
  9787. 000060D0  303C 00FA                move.w     D0, 0xFA
  9788. 000060D4  603A                     bra        +0x3C /* 00006110 */
  9789. fn000060D6:
  9790. 000060D6  303C 00FF                move.w     D0, 0xFF
  9791. 000060DA  6034                     bra        +0x36 /* 00006110 */
  9792. fn000060DC:
  9793. 000060DC  303C 00FD                move.w     D0, 0xFD
  9794. 000060E0  602E                     bra        +0x30 /* 00006110 */
  9795. fn000060E2:
  9796. 000060E2  303C 00FC                move.w     D0, 0xFC
  9797. 000060E6  6028                     bra        +0x2A /* 00006110 */
  9798. 000060E8  303C 00FB                move.w     D0, 0xFB
  9799. 000060EC  6022                     bra        +0x24 /* 00006110 */
  9800. 000060EE  303C 0100                move.w     D0, 0x100
  9801. 000060F2  601C                     bra        +0x1E /* 00006110 */
  9802. 000060F4  303C 00F9                move.w     D0, 0xF9
  9803. 000060F8  6016                     bra        +0x18 /* 00006110 */
  9804. 000060FA  303C 00F8                move.w     D0, 0xF8
  9805. 000060FE  6010                     bra        +0x12 /* 00006110 */
  9806. 00006100  303C 0102                move.w     D0, 0x102
  9807. 00006104  600A                     bra        +0xC /* 00006110 */
  9808. 00006106  303C 0101                move.w     D0, 0x101
  9809. 0000610A  6004                     bra        +0x6 /* 00006110 */
  9810. 0000610C  303C 0103                move.w     D0, 0x103
  9811. label00006110:
  9812. 00006110  206F 0006                movea.l    A0, [A7 + 0x6]
  9813. 00006114  317C FFF5 0018           move.w     [A0 + 0x18], 0xFFF5
  9814. 0000611A  606C                     bra        +0x6E /* 00006188 */
  9815. label0000611C:
  9816. 0000611C  206F 0006                movea.l    A0, [A7 + 0x6]
  9817. 00006120  317C FFF6 0018           move.w     [A0 + 0x18], 0xFFF6
  9818. 00006126  6060                     bra        +0x62 /* 00006188 */
  9819. 00006128  303C 00FF                move.w     D0, 0xFF
  9820. 0000612C  605A                     bra        +0x5C /* 00006188 */
  9821. 0000612E  303C 00FE                move.w     D0, 0xFE
  9822. 00006132  6054                     bra        +0x56 /* 00006188 */
  9823. 00006134  303C 00F8                move.w     D0, 0xF8
  9824. 00006138  604E                     bra        +0x50 /* 00006188 */
  9825. 0000613A  303C 00F9                move.w     D0, 0xF9
  9826. 0000613E  6048                     bra        +0x4A /* 00006188 */
  9827. 00006140  303C 00F7                move.w     D0, 0xF7
  9828. 00006144  6042                     bra        +0x44 /* 00006188 */
  9829. 00006146  303C 00FC                move.w     D0, 0xFC
  9830. 0000614A  603C                     bra        +0x3E /* 00006188 */
  9831. 0000614C  303C 00FD                move.w     D0, 0xFD
  9832. 00006150  6036                     bra        +0x38 /* 00006188 */
  9833. 00006152  303C 00FB                move.w     D0, 0xFB
  9834. 00006156  6030                     bra        +0x32 /* 00006188 */
  9835. 00006158  303C 00FA                move.w     D0, 0xFA
  9836. 0000615C  602A                     bra        +0x2C /* 00006188 */
  9837. 0000615E  303C 00F6                move.w     D0, 0xF6
  9838. 00006162  317C 0005 001C           move.w     [A0 + 0x1C], 0x5
  9839. 00006168  343C 0005                move.w     D2, 0x5
  9840. 0000616C  6032                     bra        +0x34 /* 000061A0 */
  9841. 0000616E  303C 00F6                move.w     D0, 0xF6
  9842. 00006172  317C 0006 001C           move.w     [A0 + 0x1C], 0x6
  9843. 00006178  343C 0006                move.w     D2, 0x6
  9844. 0000617C  6022                     bra        +0x24 /* 000061A0 */
  9845. 0000617E  303C 00F6                move.w     D0, 0xF6
  9846. 00006182  343C 0007                move.w     D2, 0x7
  9847. 00006186  6018                     bra        +0x1A /* 000061A0 */
  9848. label00006188:
  9849. 00006188  225F                     movea.l    A1, [A7]+
  9850. 0000618A  121F                     move.b     D1, [A7]+
  9851. 0000618C  205F                     movea.l    A0, [A7]+
  9852. 0000618E  3140 001A                move.w     [A0 + 0x1A], D0
  9853. 00006192  4A01                     tst.b      D1
  9854. 00006194  6604                     bne        +0x6 /* 0000619A */
  9855. 00006196  A004                     syscall    Control
  9856. 00006198  6002                     bra        +0x4 /* 0000619C */
  9857. label0000619A:
  9858. 0000619A  A404                     syscall    Control, flags=4
  9859. label0000619C:
  9860. 0000619C  3E80                     move.w     [A7], D0
  9861. 0000619E  4ED1                     jmp        [A1]
  9862. label000061A0:
  9863. 000061A0  225F                     movea.l    A1, [A7]+
  9864. 000061A2  121F                     move.b     D1, [A7]+
  9865. 000061A4  205F                     movea.l    A0, [A7]+
  9866. 000061A6  3142 001C                move.w     [A0 + 0x1C], D2
  9867. 000061AA  317C FFD7 0018           move.w     [A0 + 0x18], 0xFFD7
  9868. 000061B0  3140 001A                move.w     [A0 + 0x1A], D0
  9869. 000061B4  4A01                     tst.b      D1
  9870. 000061B6  6604                     bne        +0x6 /* 000061BC */
  9871. 000061B8  A004                     syscall    Control
  9872. 000061BA  6002                     bra        +0x4 /* 000061BE */
  9873. label000061BC:
  9874. 000061BC  A404                     syscall    Control, flags=4
  9875. label000061BE:
  9876. 000061BE  3E80                     move.w     [A7], D0
  9877. 000061C0  4ED1                     jmp        [A1]
  9878. 000061C2  042E 5850 5000           subi.b     [A6 + 0x5000], 0x50 /* 'P' */
  9879. label000061C8:
  9880. 000061C8  206F 0004                movea.l    A0, [A7 + 0x4]
  9881. 000061CC  2278 0B18                movea.l    A1, [0x00000B18 /* LAPMgrPtr */]
  9882. 000061D0  2E9F                     move.l     [A7], [A7]+
  9883. 000061D2  4EA9 0002                jsr        [A1 + 0x2]
  9884. 000061D6  205F                     movea.l    A0, [A7]+
  9885. 000061D8  3F00                     move.w     -[A7], D0
  9886. 000061DA  4ED0                     jmp        [A0]
  9887. fn000061DC:
  9888. 000061DC  48E7 80C0                movem.l    -[A7], D0,A0,A1
  9889. 000061E0  701C                     moveq.l    D0, 0x1C
  9890. 000061E2  611A                     bsr        +0x1C /* 000061FE */
  9891. 000061E4  303C 0018                move.w     D0, 0x18
  9892. 000061E8  6114                     bsr        +0x16 /* 000061FE */
  9893. 000061EA  303C 0014                move.w     D0, 0x14
  9894. 000061EE  610E                     bsr        +0x10 /* 000061FE */
  9895. 000061F0  4CDF 0301                movem.l    D0,A0,A1, [A7]+
  9896. 000061F4  2F57 0010                move.l     [A7 + 0x10], [A7]
  9897. 000061F8  DEFC 0010                add.w      A7, 0x10
  9898. 000061FC  4E75                     rts
  9899. fn000061FE:
  9900. 000061FE  2077 0000                movea.l    A0, [A7 + D0.w]
  9901. 00006202  7000                     moveq.l    D0, 0x00
  9902. 00006204  1010                     move.b     D0, [A0]
  9903. 00006206  5280                     addq.l     D0, 1
  9904. 00006208  226F 0020                movea.l    A1, [A7 + 0x20]
  9905. 0000620C  D1AF 0020                add.l      [A7 + 0x20], D0
  9906. 00006210  A02E                     syscall    BlockMove/BlockMoveData
  9907. 00006212  4E75                     rts
  9908. fn00006214:
  9909. 00006214  48E7 80F0                movem.l    -[A7], D0,A0,A1,A2,A3
  9910. 00006218  302F 0018                move.w     D0, [A7 + 0x18]
  9911. 0000621C  4CEF 0F00 001A           movem.l    A0,A1,A2,A3, [A7 + 0x1A]
  9912. 00006222  429B                     clr.l      [A3]+
  9913. 00006224  1740 0003                move.b     [A3 + 0x3], D0
  9914. 00006228  486B 0005                pea.l      [A3 + 0x5]
  9915. 0000622C  4852                     pea.l      [A2]
  9916. 0000622E  4851                     pea.l      [A1]
  9917. 00006230  4850                     pea.l      [A0]
  9918. 00006232  4EBA FFA8                jsr        [PC - 0x58 /* 000061DC */]
  9919. 00006236  4CDF 0F01                movem.l    D0,A0,A1,A2,A3, [A7]+
  9920. 0000623A  2F57 0012                move.l     [A7 + 0x12], [A7]
  9921. 0000623E  DEFC 0012                add.w      A7, 0x12
  9922. 00006242  4E75                     rts
  9923. 00006244  0000 0000                ori.b      D0, 0x0
  9924. 00006248  0000 0000                ori.b      D0, 0x0
  9925. 0000624C  0000 0000                ori.b      D0, 0x0
  9926. 00006250  0000 0000                ori.b      D0, 0x0
  9927. 00006254  0000 0000                ori.b      D0, 0x0
  9928. 00006258  0000 0000                ori.b      D0, 0x0
  9929. 0000625C  0000 0000                ori.b      D0, 0x0
  9930. 00006260  0000 0000                ori.b      D0, 0x0
  9931. 00006264  0000 0000                ori.b      D0, 0x0
  9932. 00006268  0000 0000                ori.b      D0, 0x0
  9933. 0000626C  0000 0000                ori.b      D0, 0x0
  9934. 00006270  0000 0000                ori.b      D0, 0x0
  9935. 00006274  0000 0000                ori.b      D0, 0x0
  9936. 00006278  0000 0000                ori.b      D0, 0x0
  9937. 0000627C  0000 0000                ori.b      D0, 0x0
  9938. 00006280  0000 0000                ori.b      D0, 0x0
  9939. 00006284  0000 0000                ori.b      D0, 0x0
  9940. 00006288  0000 0000                ori.b      D0, 0x0
  9941. 0000628C  0000 0000                ori.b      D0, 0x0
  9942. 00006290  0000 0000                ori.b      D0, 0x0
  9943. 00006294  0000 0000                ori.b      D0, 0x0
  9944. 00006298  0000 0000                ori.b      D0, 0x0
  9945. 0000629C  0000 0000                ori.b      D0, 0x0
  9946. 000062A0  0000 0000                ori.b      D0, 0x0
  9947. 000062A4  0000 0000                ori.b      D0, 0x0
  9948. 000062A8  0000 0000                ori.b      D0, 0x0
  9949. 000062AC  0000 0000                ori.b      D0, 0x0
  9950. 000062B0  0000 0000                ori.b      D0, 0x0
  9951. 000062B4  0000 0000                ori.b      D0, 0x0
  9952. 000062B8  0000 0000                ori.b      D0, 0x0
  9953. 000062BC  0000 0000                ori.b      D0, 0x0
  9954. 000062C0  0000 042E                ori.b      D0, 0x2E /* '.' */
  9955. 000062C4  4D50                     chk.w      D6, [A0]
  9956. 000062C6  5020                     addq.b     -[A0], 8
  9957. 000062C8  042E 4154 5020           subi.b     [A6 + 0x5020], 0x54 /* 'T' */
  9958. 000062CE  0000 0000                ori.b      D0, 0x0
  9959. 000062D2  0000 0000                ori.b      D0, 0x0
  9960. 000062D6  0000 0000                ori.b      D0, 0x0
  9961. 000062DA  0000 0000                ori.b      D0, 0x0
  9962. 000062DE  0000 0000                ori.b      D0, 0x0
  9963. 000062E2  0000 0000                ori.b      D0, 0x0
  9964. 000062E6  0000 0000                ori.b      D0, 0x0
  9965. 000062EA  0000 0000                ori.b      D0, 0x0
  9966. 000062EE  0000 0000                ori.b      D0, 0x0
  9967. 000062F2  0000 0000                ori.b      D0, 0x0
  9968. 000062F6  0000 0000                ori.b      D0, 0x0
  9969. 000062FA  0000 0000                ori.b      D0, 0x0
  9970. 000062FE  0000 0000                ori.b      D0, 0x0
  9971. 00006302  0000 0000                ori.b      D0, 0x0
  9972. 00006306  0000 0000                ori.b      D0, 0x0
  9973. 0000630A  0000 0000                ori.b      D0, 0x0
  9974. 0000630E  0000 0000                ori.b      D0, 0x0
  9975. 00006312  0000 0000                ori.b      D0, 0x0
  9976. 00006316  0000 0000                ori.b      D0, 0x0
  9977. 0000631A  0000 0000                ori.b      D0, 0x0
  9978. 0000631E  0000 0000                ori.b      D0, 0x0
  9979. 00006322  0000 0000                ori.b      D0, 0x0
  9980. 00006326  0000 0000                ori.b      D0, 0x0
  9981. 0000632A  0000 0000                ori.b      D0, 0x0
  9982. 0000632E  0000 0000                ori.b      D0, 0x0
  9983. 00006332  0000 48E7                ori.b      D0, 0xE7
  9984. // begin alternate branch 00006334-0000633C
  9985. fn00006334:
  9986. 00006334  48E7 0060                movem.l    -[A7], A1,A2
  9987. 00006338  43FA FF0A                lea.l      A1, [PC - 0xF6 /* 00006244, value 0x0, cstring "" */]
  9988. // end alternate branch 00006334-0000633C
  9989. fn00006334: // (misaligned)
  9990. 00006336  0060 43FA                ori.w      -[A0], 0x43FA
  9991. 0000633A  FF0A                     .extension 0xF0A <<F/4-5/7>> // unimplemented
  9992. label0000633C:
  9993. 0000633C  40E7                     move.w     -[A7], SR
  9994. 0000633E  46FC 2600 2051           move.w     SR, 0x26002051 /* '&\0 Q' */
  9995. 00006344  2450                     movea.l    A2, [A0]
  9996. 00006346  2008                     move.l     D0, A0
  9997. 00006348  6702                     beq        +0x4 /* 0000634C */
  9998. 0000634A  2292                     move.l     [A1], [A2]
  9999. label0000634C:
  10000. 0000634C  46DF                     move.w     SR, [A7]+
  10001. 0000634E  4A80                     tst.l      D0
  10002. 00006350  6704                     beq        +0x6 /* 00006356 */
  10003. 00006352  A023                     syscall    DisposHandle/DisposeHandle
  10004. 00006354  60E6                     bra        -0x18 /* 0000633C */
  10005. label00006356:
  10006. 00006356  4CDF 0600                movem.l    A1,A2, [A7]+
  10007. 0000635A  4E75                     rts
  10008. fn0000635C:
  10009. 0000635C  7200                     moveq.l    D1, 0x00
  10010. 0000635E  1038 0291                move.b     D0, [0x00000291 /* PortBUse */]
  10011. 00006362  6B0A                     bmi        +0xC /* 0000636E */
  10012. 00006364  0200 000F                andi.b     D0, 0xF
  10013. 00006368  5300                     subq.b     D0, 1
  10014. 0000636A  6602                     bne        +0x4 /* 0000636E */
  10015. 0000636C  7201                     moveq.l    D1, 0x01
  10016. label0000636E:
  10017. 0000636E  1F41 0004                move.b     [A7 + 0x4], D1
  10018. 00006372  4E75                     rts
  10019. export_106:
  10020. fn00006374:
  10021. 00006374  4267                     clr.w      -[A7]
  10022. 00006376  4EBA FFE4                jsr        [PC - 0x1C /* 0000635C */]
  10023. 0000637A  4240                     clr.w      D0
  10024. 0000637C  4A1F                     tst.b      [A7]+
  10025. 0000637E  6632                     bne        +0x34 /* 000063B2 */
  10026. 00006380  1238 0291                move.b     D1, [0x00000291 /* PortBUse */]
  10027. 00006384  6B04                     bmi        +0x6 /* 0000638A */
  10028. 00006386  709F                     moveq.l    D0, 0xFFFFFF9F
  10029. 00006388  6028                     bra        +0x2A /* 000063B2 */
  10030. label0000638A:
  10031. 0000638A  1038 01FB                move.b     D0, [0x000001FB /* SPConfig */]
  10032. 0000638E  0200 000F                andi.b     D0, 0xF
  10033. 00006392  5300                     subq.b     D0, 1
  10034. 00006394  6F04                     ble        +0x6 /* 0000639A */
  10035. 00006396  709E                     moveq.l    D0, 0xFFFFFF9E
  10036. 00006398  6018                     bra        +0x1A /* 000063B2 */
  10037. label0000639A:
  10038. 0000639A  9EFC 0032                sub.w      A7, 0x32 /* '2' */
  10039. 0000639E  204F                     movea.l    A0, A7
  10040. 000063A0  43FA FF20                lea.l      A1, [PC - 0xE0 /* 000062C2, value 0x42E4D50, pstring ".MPP" */]
  10041. 000063A4  2149 0012                move.l     [A0 + 0x12], A1
  10042. 000063A8  4228 001B                clr.b      [A0 + 0x1B]
  10043. 000063AC  A000                     syscall    Open/PBHOpen/HOpen
  10044. 000063AE  4FEF 0032                lea.l      A7, [A7 + 0x32]
  10045. label000063B2:
  10046. 000063B2  3F40 0004                move.w     [A7 + 0x4], D0
  10047. 000063B6  4E75                     rts
  10048. fn000063B8:
  10049. 000063B8  4EBA FF7A                jsr        [PC - 0x86 /* 00006334 */]
  10050. 000063BC  4267                     clr.w      -[A7]
  10051. 000063BE  4EBA FFB4                jsr        [PC - 0x4C /* 00006374 */]
  10052. 000063C2  4A5F                     tst.w      [A7]+
  10053. 000063C4  3F40 0004                move.w     [A7 + 0x4], D0
  10054. 000063C8  4E75                     rts
  10055. fn000063CA:
  10056. 000063CA  4EBA FF68                jsr        [PC - 0x98 /* 00006334 */]
  10057. 000063CE  41EF 000C                lea.l      A0, [A7 + 0xC]
  10058. 000063D2  343C F3E0                move.w     D2, 0xF3E0
  10059. 000063D6  3218                     move.w     D1, [A0]+
  10060. 000063D8  6746                     beq        +0x48 /* 00006420 */
  10061. 000063DA  B258                     cmp.w      D1, [A0]+
  10062. 000063DC  6242                     bhi        +0x44 /* 00006420 */
  10063. 000063DE  2250                     movea.l    A1, [A0]
  10064. label000063E0:
  10065. 000063E0  5341                     subq.w     D1, 1
  10066. 000063E2  6714                     beq        +0x16 /* 000063F8 */
  10067. 000063E4  5A49                     addq.w     A1, 5
  10068. 000063E6  4242                     clr.w      D2
  10069. 000063E8  1411                     move.b     D2, [A1]
  10070. 000063EA  D431 2001                add.b      D2, [A1 + D2.w + 0x1]
  10071. 000063EE  D431 2002                add.b      D2, [A1 + D2.w + 0x2]
  10072. 000063F2  5602                     addq.b     D2, 3
  10073. 000063F4  D2C2                     add.w      A1, D2
  10074. 000063F6  60E8                     bra        -0x16 /* 000063E0 */
  10075. label000063F8:
  10076. 000063F8  206F 0004                movea.l    A0, [A7 + 0x4]
  10077. 000063FC  10D9                     move.b     [A0]+, [A1]+
  10078. 000063FE  10D9                     move.b     [A0]+, [A1]+
  10079. 00006400  10D9                     move.b     [A0]+, [A1]+
  10080. 00006402  10D9                     move.b     [A0]+, [A1]+
  10081. 00006404  5249                     addq.w     A1, 1
  10082. 00006406  7403                     moveq.l    D2, 0x03
  10083. 00006408  202F 0008                move.l     D0, [A7 + 0x8]
  10084. label0000640C:
  10085. 0000640C  2040                     movea.l    A0, D0
  10086. 0000640E  1211                     move.b     D1, [A1]
  10087. label00006410:
  10088. 00006410  10D9                     move.b     [A0]+, [A1]+
  10089. 00006412  5301                     subq.b     D1, 1
  10090. 00006414  64FA                     bcc        -0x4 /* 00006410 */
  10091. 00006416  0680 0000 0022           addi.l     D0, 0x22 /* '\"' */
  10092. 0000641C  5342                     subq.w     D2, 1
  10093. 0000641E  66EC                     bne        -0x12 /* 0000640C */
  10094. label00006420:
  10095. 00006420  225F                     movea.l    A1, [A7]+
  10096. 00006422  4FEF 0010                lea.l      A7, [A7 + 0x10]
  10097. 00006426  3E82                     move.w     [A7], D2
  10098. 00006428  4ED1                     jmp        [A1]
  10099.